Burn Standard Library
Core types and utilities shared across the Burn crates
Shape, slicing (s!) and indexing helpers.DType, the element traits and conversions, andTensorData, the backend-independent representation of tensor contents.Distributionfor random tensor initialization.DeviceSettings, per-device defaults such as dtypes.- Quantization schemes,
Bytes, identifiers and errors. config: runtime configuration read fromburn.toml.network: file downloads with a progress bar (networkfeature).
Applications use these through burn::tensor. This crate supports both std and no_std
environments and must compile with cargo build --no-default-features as well.
Feature Flags
std(default): standard library support.network: file downloads.tracing: instrument operations with thetracingcrate.
Part of the Burn deep learning framework. See the Burn Book and the API documentation.