Tensor
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.
Install
dotnet add package Tensor --version 0.4.11
Install-Package Tensor -Version 0.4.11
<PackageReference Include="Tensor" Version="0.4.11" />
Frameworks
Dependencies
Adoption guide
Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.
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.