Browse Source

Merge pull request #1079 from AsakusaRinne/fix_1077

fix: status null reference of base session.
tags/v0.110.0-LSTM-Model
Rinne GitHub 2 years ago
parent
commit
945744bde9
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
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