17 releases (breaking)

0.15.0 Oct 28, 2024
0.13.2 May 3, 2024
0.12.1 Feb 1, 2024
0.11.1 Dec 4, 2023
0.3.0 Nov 20, 2022

#1022 in Machine learning

Download history 1660/week @ 2024-08-20 1794/week @ 2024-08-27 1464/week @ 2024-09-03 1555/week @ 2024-09-10 1339/week @ 2024-09-17 1818/week @ 2024-09-24 1414/week @ 2024-10-01 1462/week @ 2024-10-08 1575/week @ 2024-10-15 1831/week @ 2024-10-22 1848/week @ 2024-10-29 1436/week @ 2024-11-05 1205/week @ 2024-11-12 1314/week @ 2024-11-19 3159/week @ 2024-11-26 3649/week @ 2024-12-03

9,514 downloads per month
Used in 31 crates (5 directly)

MIT/Apache

1.5MB
34K SLoC

Burn NdArray

Burn ndarray backend

Current Crates.io Version license

Feature Flags

This crate can be used without the standard library (#![no_std]) with alloc by disabling the default std feature.

The following flags support various BLAS options:

  • blas-accelerate - Accelerate framework (macOS only)
  • blas-netlib - Netlib
  • blas-openblas - OpenBLAS static linked
  • blas-openblas-system - OpenBLAS from the system

Note: under the no_std mode, the seed is fixed if the seed is not initialized by by Backend::seed method.

Platform Support

Option CPU GPU Linux MacOS Windows Android iOS WASM
Pure Rust Yes No Yes Yes Yes Yes Yes Yes
Accelerate Yes No No Yes No No Yes No
Netlib Yes No Yes Yes Yes No No No
Openblas Yes No Yes Yes Yes Yes Yes No

Dependencies

~6–23MB
~249K SLoC