Sylvester.tf 0.2.0.4

There is a newer version of this package available.
See the version list below for details.
dotnet add package Sylvester.tf --version 0.2.0.4                
NuGet\Install-Package Sylvester.tf -Version 0.2.0.4                
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="Sylvester.tf" Version="0.2.0.4" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Sylvester.tf --version 0.2.0.4                
#r "nuget: Sylvester.tf, 0.2.0.4"                
#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 Sylvester.tf as a Cake Addin
#addin nuget:?package=Sylvester.tf&version=0.2.0.4

// Install Sylvester.tf as a Cake Tool
#tool nuget:?package=Sylvester.tf&version=0.2.0.4                

Sylvester.tf

About

Sylvester.tf is a high-level functional and verifiable TensorFlow 2.0 API designed to embrace the overall Sylvester language goals of safety, expressiveness and interoperability.

open Sylvester.Arithmetic
open Sylvester.Arithmetic.N10
open Sylvester.tf

// Create a new TF tensor graph with 4 inputs and one output and set as default graph for this program scope
let g = TensorGraph<n<4>, n<1>>()
defaultGraph <- g

// The default graph is typed according to how many inputs and output are specified.
// Type-level comparisons can be done on numeric graph properties at compile-time.
let gt = g.Inputs +< three // Has type Sylvester.Bool+True
let lt = g.Outputs +> five // Has type Sylvester.Bool+False

// Graph and element type-level properties can be verified at compile-time
check(g.Inputs +== five) //Causes type error

// We can create graph elements with types that depend on their dimensions
let m0 = Mat<dim<4>, dim<3>>("m") // Creates a TensorFlow placeholder node and output edge with shape 4x3 and name m_0.

// We can also verify the size of the matrix and other tensor dimensions at compile-time
check(m0.Dim0 +> five) //Causes type error

// Use a new TensorFlow name scope
use x = scope "x"
let a = Mat<dim<100>, dim<50>>("a")
a.Name // Name is "x/a_0"

//Revert to root scope
ends x

// Matrix operations type-checked at compile-time
let m1 = Mat<dim<4>, dim<3>>("m") //Placeholder m_1
let m2 = Mat<dim<3>, dim<7>>("m") //Placeholder m_2

let sum1 = m0 + m1 // Create a TF Add op node with input edges from m0 and m1 

let sum2 = m1 + m2 // Type error: matrices not conformable for element-wise addition

let prod1 = m1 * m2 // Create a TF MatMul node with input edges from m1 and m2

let prod2 = m2 * m1 // Type error: matrices not conformable for multiplication in this order
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 is compatible.  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.

Version Downloads Last updated
0.2.3.4 676 1/12/2020
0.2.3.3 462 1/12/2020
0.2.1.1 454 1/7/2020
0.2.1 524 1/7/2020
0.2.0.8 516 1/5/2020
0.2.0.7 653 1/4/2020
0.2.0.6 662 1/4/2020
0.2.0.5 655 1/4/2020
0.2.0.4 662 1/4/2020
0.2.0.3-alpha 575 1/4/2020
0.2.0.2-alpha 563 1/4/2020
0.2.0.1-alpha 594 1/4/2020
0.2.0-alpha 348 1/4/2020

First alpha release. Use FSharp.Core >= 4.3.4