Gradient 0.1.10-tech-preview5

Suggested Alternatives

LostTech.TensorFlow

Additional Details

The project changed name for clarity. See https://ml.blogs.losttech.software/TF-1.15-Release-Candidate/

This is a prerelease version of Gradient.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Gradient --version 0.1.10-tech-preview5                
NuGet\Install-Package Gradient -Version 0.1.10-tech-preview5                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Gradient" Version="0.1.10-tech-preview5" />                
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                
#r "nuget: Gradient, 0.1.10-tech-preview5"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Gradient as a Cake Addin
#addin nuget:?package=Gradient&version=0.1.10-tech-preview5&prerelease

// Install Gradient as a Cake Tool
#tool nuget:?package=Gradient&version=0.1.10-tech-preview5&prerelease                

A technical preview of full TensorFlow 1.10 API binding for .NET.

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



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 .

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

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:

- 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