Browse Source

remove duplicate code.

tags/v0.12
Oceania2018 6 years ago
parent
commit
d519ffb93d
1 changed files with 0 additions and 14 deletions
  1. +0
    -14
      src/TensorFlowNET.Core/Sessions/BaseSession.cs

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

@@ -377,19 +377,5 @@ namespace Tensorflow
status.Check(true); status.Check(true);
} }
} }
public void close()
{
Dispose();
}
protected override void DisposeUnManagedState(IntPtr handle)
{
using (var status = new Status())
{
c_api.TF_DeleteSession(handle, status);
status.Check(true);
}
}
} }
} }

Loading…
Cancel
Save