From d4b7ff740e01fcabdffed329ca6abbf64762d5b7 Mon Sep 17 00:00:00 2001 From: Oceania2018 Date: Sat, 25 Jan 2020 08:34:47 -0600 Subject: [PATCH] Graph.ImportGraphDef #483 --- src/TensorFlowNET.Core/Graphs/Graph.Import.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/TensorFlowNET.Core/Graphs/Graph.Import.cs b/src/TensorFlowNET.Core/Graphs/Graph.Import.cs index 0b2dc0e6..d759e38d 100644 --- a/src/TensorFlowNET.Core/Graphs/Graph.Import.cs +++ b/src/TensorFlowNET.Core/Graphs/Graph.Import.cs @@ -60,12 +60,12 @@ namespace Tensorflow } } - /*public Graph Import(string file_path, string name = null) + public Graph ImportGraphDef(string file_path, string name = null) { as_default(); var graph_def = GraphDef.Parser.ParseFrom(File.ReadAllBytes(file_path)); importer.import_graph_def(graph_def, name: name); return this; - }*/ + } } }