diff --git a/src/TensorFlowNET.Core/Sessions/Session.cs b/src/TensorFlowNET.Core/Sessions/Session.cs index 4998c40b..690b4e0d 100644 --- a/src/TensorFlowNET.Core/Sessions/Session.cs +++ b/src/TensorFlowNET.Core/Sessions/Session.cs @@ -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(); } }