Browse Source

remove ScopedTFGraph destructor. no carsh occurs any more.

tags/v0.12
Oceania2018 6 years ago
parent
commit
03c1637748
2 changed files with 0 additions and 6 deletions
  1. +0
    -5
      src/TensorFlowNET.Core/Framework/Models/ScopedTFGraph.cs
  2. +0
    -1
      src/TensorFlowNET.Core/Graphs/Graph.cs

+ 0
- 5
src/TensorFlowNET.Core/Framework/Models/ScopedTFGraph.cs View File

@@ -6,10 +6,5 @@
{

}

~ScopedTFGraph()
{
base.Dispose();
}
}
}

+ 0
- 1
src/TensorFlowNET.Core/Graphs/Graph.cs View File

@@ -445,7 +445,6 @@ namespace Tensorflow
protected override void DisposeUnManagedState(IntPtr handle)
{
Console.WriteLine($"Destroy graph {handle}");
c_api.TF_DeleteGraph(handle);
}



Loading…
Cancel
Save