Skip to main content

Tensor (n-dimensional array) library for F# Core features: - n-dimensional arrays (tensors) in host memory or on CUDA GPUs - element-wise operations (addition, multiplication, absolute value, etc.) - basic linear algebra operations (dot product, SVD decomposition, matrix inverse, etc.) - reduction operations (sum, product, average, maximum, arg max, etc.) - logic operations (comparision, and, or, etc.) - views, slicing, reshaping, broadcasting (similar to NumPy) - scatter and gather by indices - standard functional operations (map, fold, etc.) Data exchange: - read/write support for HDF5 (.h5) - interop with standard F# types (Seq, List, Array, Array2D, Array3D, etc.) Performance: - host: SIMD and BLAS accelerated operations - by default Intel MKL is used (shipped with NuGet package) - other BLASes (OpenBLAS, vendor-specific) can be selected by configuration option - CUDA GPU: all operations performed locally on GPU and cuBLAS used for matrix operations Requirements: - Linux, MacOS or Windows on x64 - Linux requires libgomp.so.1 installed. Additional algorithms are provided in the Tensor.Algorithm package.

Total Downloads
416.7K
416,653
Published
Nov 14, 2018
Latest stable version

Install

.NET CLI
dotnet add package Tensor --version 0.4.11-symtensor-core-235
Package Manager Console
Install-Package Tensor -Version 0.4.11-symtensor-core-235
PackageReference
<PackageReference Include="Tensor" Version="0.4.11-symtensor-core-235" />

Frameworks

.NETStandard2.0

Dependencies

FSharp.Core
.NETStandard2.0
[4.5.2, )
[1.10.200, )
[9.1.300, )
[9.1.300, )
[9.1.300, )
[4.4.0, )
System.Reflection.Emit
.NETStandard2.0
[4.3.0, )

Adoption guide

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

This version is marked prerelease. Validate its API and upgrade path before production use.

No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.

Compatibility metadata lists 1 target framework; confirm the exact target used by your application.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.