You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

TensorFlowNET.Examples.GPU.csproj 1.4 kB

Performance optimization, refactoring and revamping. (#362) * Refactored DisposableObject * Added different build directory for TensorflowNET.Examples.GPU * _FetchHandler: Switched to NPTypeCode * gfile.cs, Walk(...): Handle case when directory top doesn't exist. * Tensor.Creation: Perf-opted when creating tensor from NDArray of string * Graph.cs: refactor and added docs * Tensor.Creation.cs: perf-ops * Tensor.Explicit.cs: perf-ops * Copied globals.regen from NumSharp - Added supported_numericals_TF_DataType * Tensor perf-ops and cleanup, Revamped dtypes.cs, some renames. - Cleanup and docs to all Tensor.cs files - Changed all uses of System.Convert to NumSharp.Utilities.Converts - Added all missing types in dtypes.cs - Renamed tensor.Data<T> to tensor.ToArray<T>, added obsolete message - Renamed tensor.Data() to tensor.BufferToArray(), added obsolete message - Made GraphKeys to use const string instead allocating strings at every use of GraphKeys. * Tensor: Added guards for explicit casts. * Tensor: Added explicit cast to string * Tensor.ToArray<T>(): Added support for cases when tensor is scalar. * Tensor.BufferToArray(): Fixed to use long instead of int. * TensorShape: Revamped and documented. * BaseSession: Added Session.run(ITensorOrOperation fetche, params FeedItem[] feed_dict) * Tensor: renamed _dtype to _override_dtype - Fixed all locations _dtype is used incorrectly. * Fixed unit tests * Tensor.Operations: Reverted commit * DisposableObject: sorted internal_dispose to properly handle Dispose() calls * Tensor.DisposeUnmanagedResources: Nullify _handle after delete. * TensorShape.this[...]: fixed guard check. * DisposableObject #362
6 years ago
1234567891011121314151617181920212223242526272829303132
  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <PropertyGroup>
  3. <OutputType>Exe</OutputType>
  4. <TargetFramework>netcoreapp2.2</TargetFramework>
  5. <GeneratePackageOnBuild>false</GeneratePackageOnBuild>
  6. </PropertyGroup>
  7. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
  8. <OutputPath>bin\debug-gpu</OutputPath>
  9. </PropertyGroup>
  10. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
  11. <OutputPath>bin\release-gpu</OutputPath>
  12. </PropertyGroup>
  13. <ItemGroup>
  14. <PackageReference Include="Colorful.Console" Version="1.2.9" />
  15. <PackageReference Include="Newtonsoft.Json" Version="12.0.2" />
  16. <PackageReference Include="SciSharp.TensorFlow.Redist-Windows-GPU" Version="1.14.0" />
  17. <PackageReference Include="SharpZipLib" Version="1.1.0" />
  18. <PackageReference Include="System.Drawing.Common" Version="4.5.1" />
  19. </ItemGroup>
  20. <ItemGroup>
  21. <ProjectReference Include="..\..\src\KerasNET.Core\Keras.Core.csproj" />
  22. <ProjectReference Include="..\..\src\TensorFlowDatasets\TensorFlowDatasets.csproj" />
  23. <ProjectReference Include="..\..\src\TensorFlowNET.Core\TensorFlowNET.Core.csproj" />
  24. <ProjectReference Include="..\..\src\TensorFlowText\TensorFlowText.csproj" />
  25. <ProjectReference Include="..\..\src\TensorFlowHub\TensorFlowHub.csproj" />
  26. </ItemGroup>
  27. </Project>