diff --git a/src/TensorFlowNET.Core/Framework/Models/ScopedTFGraph.cs b/src/TensorFlowNET.Core/Framework/Models/ScopedTFGraph.cs index badf52a8..d6d24875 100644 --- a/src/TensorFlowNET.Core/Framework/Models/ScopedTFGraph.cs +++ b/src/TensorFlowNET.Core/Framework/Models/ScopedTFGraph.cs @@ -6,10 +6,5 @@ { } - - ~ScopedTFGraph() - { - base.Dispose(); - } } } diff --git a/src/TensorFlowNET.Core/Graphs/Graph.cs b/src/TensorFlowNET.Core/Graphs/Graph.cs index 2949b5d4..6656862f 100644 --- a/src/TensorFlowNET.Core/Graphs/Graph.cs +++ b/src/TensorFlowNET.Core/Graphs/Graph.cs @@ -445,7 +445,6 @@ namespace Tensorflow protected override void DisposeUnManagedState(IntPtr handle) { - Console.WriteLine($"Destroy graph {handle}"); c_api.TF_DeleteGraph(handle); }