From 8914e6164d92b68915a12133cf9e2babd0407de6 Mon Sep 17 00:00:00 2001 From: Oceania2018 Date: Wed, 6 Feb 2019 19:03:47 -0600 Subject: [PATCH] fix compile error --- src/TensorFlowNET.Core/Graphs/Graph.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TensorFlowNET.Core/Graphs/Graph.cs b/src/TensorFlowNET.Core/Graphs/Graph.cs index 0f331039..469fb45a 100644 --- a/src/TensorFlowNET.Core/Graphs/Graph.cs +++ b/src/TensorFlowNET.Core/Graphs/Graph.cs @@ -145,7 +145,7 @@ namespace Tensorflow _create_op_helper(op, true); Console.Write($"create_op: {op_type} '{node_def.Name}'"); - Console.Write($", inputs: {(inputs.Count == 0 ? "empty" : String.Join(",", inputs.Select(x => x.name)))}"); + Console.Write($", inputs: {(inputs.Length == 0 ? "empty" : String.Join(",", inputs.Select(x => x.name)))}"); Console.Write($", outputs: {(op.outputs.Length == 0 ? "empty" : String.Join(",", op.outputs.Select(x => x.name)))}"); Console.WriteLine();