Browse Source

v0.5.2, memory leak when allocating Tensor.

tags/v0.9
Oceania2018 6 years ago
parent
commit
a1853a9236
4 changed files with 10 additions and 9 deletions
  1. +2
    -2
      docs/source/conf.py
  2. +2
    -0
      src/TensorFlowNET.Core/Sessions/BaseSession.cs
  3. +5
    -7
      src/TensorFlowNET.Core/TensorFlowNET.Core.csproj
  4. +1
    -0
      test/TensorFlowNET.Examples/TensorFlowNET.Examples.csproj

+ 2
- 2
docs/source/conf.py View File

@@ -24,9 +24,9 @@ copyright = '2019, Haiping Chen'
author = 'Haiping Chen'

# The short X.Y version
version = '0.0.1'
version = '0.6.0'
# The full version, including alpha/beta/rc tags
release = '0.0.1'
release = '0.6.0'


# -- General configuration ---------------------------------------------------


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

@@ -245,6 +245,8 @@ namespace Tensorflow
throw new NotImplementedException("can't fetch output");
}

tensor.Dispose();

return nd;
}



+ 5
- 7
src/TensorFlowNET.Core/TensorFlowNET.Core.csproj View File

@@ -4,7 +4,7 @@
<TargetFramework>netstandard2.0</TargetFramework>
<AssemblyName>TensorFlow.NET</AssemblyName>
<RootNamespace>Tensorflow</RootNamespace>
<Version>0.6.0</Version>
<Version>0.5.2</Version>
<Authors>Haiping Chen</Authors>
<Company>SciSharp STACK</Company>
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
@@ -14,16 +14,14 @@
<PackageProjectUrl>https://github.com/SciSharp</PackageProjectUrl>
<PackageIconUrl>https://avatars3.githubusercontent.com/u/44989469?s=200&amp;v=4</PackageIconUrl>
<PackageTags>TensorFlow, NumSharp, SciSharp, MachineLearning, TensorFlow.NET, C#</PackageTags>
<Description>Google's TensorFlow binding in .NET Standard.
<Description>Google's TensorFlow full binding in .NET Standard.
Docs: https://tensorflownet.readthedocs.io</Description>
<AssemblyVersion>0.6.0.0</AssemblyVersion>
<AssemblyVersion>0.5.2.0</AssemblyVersion>
<PackageReleaseNotes>Changes since v0.5:
Added K-means Clustering.
Added Nearest Neighbor.
Added a lot of APIs to build neural networks model.
Bug fix.</PackageReleaseNotes>
Bug memory leak issue when allocating Tensor.</PackageReleaseNotes>
<LangVersion>7.2</LangVersion>
<FileVersion>0.6.0.0</FileVersion>
<FileVersion>0.5.2.0</FileVersion>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">


+ 1
- 0
test/TensorFlowNET.Examples/TensorFlowNET.Examples.csproj View File

@@ -3,6 +3,7 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp2.2</TargetFramework>
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
</PropertyGroup>

<ItemGroup>


Loading…
Cancel
Save