This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
Register
Sign In
scisharp
/
TensorFlow.NET
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
21
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
fix memory leak due to wrong handle sent to api (
#339
)
A simple typo that led to a memory leak.
tags/v0.12
Sattisvar TANDABANY
Haiping
6 years ago
parent
ae22b6d2b2
commit
29265c55ee
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/TensorFlowNET.Core/Tensors/Tensor.cs
+ 1
- 1
src/TensorFlowNET.Core/Tensors/Tensor.cs
View File
@@ -363,7 +363,7 @@ namespace Tensorflow
_handle=IntPtr.Zero;
}
if (h != IntPtr.Zero)
c_api.TF_DeleteTensor(
_
h
andle
);
c_api.TF_DeleteTensor(h);
status.Dispose();
GC.SuppressFinalize(this);
}
Write
Preview
Loading…
Cancel
Save