Gradient 0.1.10-tech-preview5.1.1

Full TensorFlow 1.10 API binding for .NET.

Comparison with TensorFlowSharp: https://github.com/losttech/Gradient/#why-not-tensorflowsharp
Comparison with TensorFlow.NET: https://github.com/losttech/Gradient/#why-not-tensorflow-net



Allows building arbitrary machine learning models, training them, and loading and executing pre-trained models using the most popular machine learning framework out there: TensorFlow. All from your favorite comfy .NET language. Supports both CPU and GPU training (the later requires CUDA or a special build of TensorFlow).


Provides access to full tf.keras and tf.contrib APIs, including estimators.


This preview will expire.


!!NOTE!!

This version requires Python 3.6 x64 to be installed with tensorflow or tensorflow-gpu. See the official installation instructions in https://www.tensorflow.org/install/ (ensure you are installing version 1.10 to avoid hard-to-debug issues).


For community support, please use https://stackoverflow.com/ with tags (must be all 3 together) tensorflow, gradient, and .net.

Please, report any issues to https://github.com/losttech/Gradient/issues

For on-site/remote support for this preview email contact@losttech.software .


More information in NuGet package release notes and at the project web page: https://github.com/losttech/Gradient .

This is a prerelease version of Gradient.
This package has a SemVer 2.0.0 package version.
This package will only be available to download with SemVer 2.0.0 compatible NuGet clients, such as Visual Studio 2017 (version 15.3) and above or NuGet client 4.3.0 and above. Read more
Install-Package Gradient -Version 0.1.10-tech-preview5.1.1
dotnet add package Gradient --version 0.1.10-tech-preview5.1.1
<PackageReference Include="Gradient" Version="0.1.10-tech-preview5.1.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Gradient --version 0.1.10-tech-preview5.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

This version requires Python 3.6 x64 to be installed with tensorflow or tensorflow-gpu. See the official installation instructions in https://www.tensorflow.org/install/ (ensure you are installing version 1.10 to avoid hard-to-debug issues).

If your app, that uses Gradient, targets net4xx (like net472), you need to specify a proper runtime identifier to run and publish. e.g. "dotnet publish -r win" and "dotnet run -r win7-x64". Note, "run" requires specific identifier.

What's new

Preview 5.1:

- improved passing dictionaries

- setup: optionally specify Conda environment via an environment variable

- setup: fixed Conda environment autodectection on Linux

- improved argument types in many places

- Gradient warnings are now printed to Console.Error by default, instead of Console.Out

- fixed crashes on dynamic interop and multithreaded enumeration

- fixed some properties not being exposed https://github.com/losttech/Gradient/issues/4

- preview 5.1 will expire in Oct 2019

Preview 5:

- support for indexing Tensor objects via `dynamic`

- allow using specific Python environment via GradientSetup.UsePythonEnvironment

- numerous fixes in the interop layer

Preview 4:

- added XML documentation

- support for Ubuntu 18.04 x64 and MacOS with .NET Core; other *nix OS might work too

- bug fixes


Preview 3:

- fixed inability to reenter TensorFlow from a callback


Preview 2:

- dynamically typed overloads, that enable fallback for tricky signatures

- a common interface for tf.Variable and tf.Tensor

- enabled enumeration over TensorFlow collection types

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
0.1.10-tech-preview5.1.1 76 5/21/2019
0.1.10-tech-preview5 149 3/4/2019
0.1.10-tech-preview4 113 2/15/2019