Skip to content

Commit d4b7ff7

Browse files
committed
Graph.ImportGraphDef SciSharp#483
1 parent 998a9ac commit d4b7ff7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/TensorFlowNET.Core/Graphs/Graph.Import.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,12 @@ public bool Import(byte[] bytes, string prefix = "")
6060
}
6161
}
6262

63-
/*public Graph Import(string file_path, string name = null)
63+
public Graph ImportGraphDef(string file_path, string name = null)
6464
{
6565
as_default();
6666
var graph_def = GraphDef.Parser.ParseFrom(File.ReadAllBytes(file_path));
6767
importer.import_graph_def(graph_def, name: name);
6868
return this;
69-
}*/
69+
}
7070
}
7171
}

0 commit comments

Comments
 (0)