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.

README.md 1.3 kB

6 years ago
1234567891011121314151617181920212223242526272829303132
  1. ## SciSharp.TensorFlow.Redist ##
  2. `SciSharp.TensorFlow.Redist` is a migration from [Microsoft.ML.TensorFlow.Redist](https://github.com/dotnet/machinelearning/tree/release/1.2/src/Redist/Microsoft.ML.TensorFlow.Redist). [ML.NET](https://github.com/dotnet/machinelearning) team will not maintain the package since [ML.NET](https://www.nuget.org/packages/Microsoft.ML) v1.3.0 going forward.
  3. * CPU version for all platforms (Windows, Linux, OSX)
  4. ```powershell
  5. PM> Install-Package SciSharp.TensorFlow.Redist
  6. ```
  7. * GPU version for Windows
  8. ```powershell
  9. PM> Install-Package SciSharp.TensorFlow.Redist-Windows-GPU
  10. ```
  11. * GPU version for Linux
  12. ```powershell
  13. PM> Install-Package SciSharp.TensorFlow.Redist-Linux-GPU
  14. ```
  15. https://www.nuget.org/packages/SciSharp.TensorFlow.Redist
  16. Related merged [commits](https://github.com/SciSharp/TensorFlow.NET/commit/854a5ba61ad0e400623821236bd117cc24c6cb77).
  17. #### Pack and Deploy ####
  18. On Windows, the tar command does not support extracting archives with symlinks. So when `dotnet pack` runs on Windows it will only package the Windows binaries.
  19. 1. Run `dotnet pack SciSharp.TensorFlow.Redist-CPU.nupkgproj` under `src/SciSharp.TensorFlow.Redist` directory in Linux.
  20. 2. Run `dotnet nuget push SciSharp.TensorFlow.Redist.1.14.0.nupkg -k APIKEY -s https://api.nuget.org/v3/index.json`