8000 fix: status null reference of base session. · SciSharp/TensorFlow.NET@58de537 · GitHub
[go: up one dir, main page]

Skip to content 8000

Commit 58de537

Browse files
committed
fix: status null reference of base session.
1 parent 7d7f4e1 commit 58de537

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/TensorFlowNET.Core/Sessions/BaseSession.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ public BaseSession(SafeSessionHandle handle, Graph g)
3030
{
3131
_handle = handle;
3232
_graph = g ?? ops.get_default_graph();
33+
_status = tf.Status;
3334
}
3435

3536
public BaseSession(string target = "", Graph g = null, ConfigProto config = null, Status status = null)

0 commit comments

Comments
 (0)
0