Browse Source

Session.LoadFromSavedModel: Removed redundant .as_default() call.

tags/v0.12
Eli Belash 6 years ago
parent
commit
dc4a4c22d8
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/TensorFlowNET.Core/Sessions/Session.cs

+ 1
- 1
src/TensorFlowNET.Core/Sessions/Session.cs View File

@@ -65,7 +65,7 @@ namespace Tensorflow
// var meta_graph = MetaGraphDef.Parser.ParseFrom(data);*/
status.Check(true);

return new Session(sess, g: new Graph(graph).as_default()).as_default();
return new Session(sess, g: new Graph(graph)).as_default();
}
}



Loading…
Cancel
Save