Browse Source

fix: status null reference of base session.

tags/v0.110.0-LSTM-Model
Yaohui Liu 2 years ago
parent
commit
58de537be5
No known key found for this signature in database GPG Key ID: E86D01E1809BD23E
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      src/TensorFlowNET.Core/Sessions/BaseSession.cs

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

@@ -30,6 +30,7 @@ public class BaseSession : IDisposable
{
_handle = handle;
_graph = g ?? ops.get_default_graph();
_status = tf.Status;
}

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


Loading…
Cancel
Save