8000 Merge pull request #1079 from AsakusaRinne/fix_1077 · SciSharp/TensorFlow.NET@945744b · GitHub
[go: up one dir, main page]

Skip to content

Commit 945744b

Browse files
authored
Merge pull request #1079 from AsakusaRinne/fix_1077
fix: status null reference of base session.
2 parents 3705dda + 58de537 commit 945744b

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