Browse Source

Graph.ImportGraphDef #483

tags/v0.20
Oceania2018 5 years ago
parent
commit
d4b7ff740e
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/TensorFlowNET.Core/Graphs/Graph.Import.cs

+ 2
- 2
src/TensorFlowNET.Core/Graphs/Graph.Import.cs View File

@@ -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(); as_default();
var graph_def = GraphDef.Parser.ParseFrom(File.ReadAllBytes(file_path)); var graph_def = GraphDef.Parser.ParseFrom(File.ReadAllBytes(file_path));
importer.import_graph_def(graph_def, name: name); importer.import_graph_def(graph_def, name: name);
return this; return this;
}*/
}
} }
} }

Loading…
Cancel
Save