Expand description
Module for the tensor.
Modules§
- The activation module.
- The backend module.
- Tensor element casting.
- The container module.
- The loss module.
- The burn module.
- Operations on tensors module.
- Tensor quantization module.
- Burn Tensor representaton
Macros§
- Automatically applies dequantization -> float operation -> quantization.
- Macro to implement the element trait for a type.
Structs§
- A type-level representation of the kind of a bool tensor.
- Data
Deprecated Data structure for tensors. - Data
Serialize Deprecated Data structure for serializing and deserializing tensor data. - Iterator given by (Tensor::iter_dim).
- Distribution sampler for random value of a tensor.
- A type-level representation of the kind of a float tensor
- A type-level representation of the kind of a int tensor.
- Options for Tensor pretty printing
- Shape of a tensor.
- Transpose marker (zero-size type). Used to sugar the transpose of a tensor, e.g.
- A tensor with a given backend, shape and data type.
- Data structure for tensors.
- A 16-bit floating point type implementing the
bfloat16
format. - A 16-bit floating point type implementing the IEEE 754-2008 standard
binary16
a.k.a “half” format.
Enums§
- The things that can go wrong when manipulating tensor data.
- Distribution for random value of a tensor.
- Distribution sampler kind for random value of a tensor.
- Element precision trait for tensor.
- A primitive tensor representation.
Traits§
- Trait that list all operations that can be applied on all tensors on an autodiff backend.
- Trait that list all operations that can be applied on all tensors.
- Trait used for broadcast arguments.
- Element trait for tensor.
- Element ordering trait.
- Element conversion trait for tensor.
- Element precision trait for tensor.
- Element trait for random value of a tensor.
- Trait used for movedim arguments
- Trait that list all operations that can be applied on all numerical tensors.
- Trait used for slice arguments
- Trait used for reshape arguments.
- A type-level representation of the kind of a tensor.
Functions§
- Returns the indices that sort the elements of the input
tensor
along a given dimension. - Compute the indices of the elements that are non-zero, grouped by element.
- Generates a cartesian grid for the given tensor shape on the specified device. The generated tensor is of dimension
D2 = D + 1
, where each element at dimension D contains the cartesian grid coordinates for that element. - Checks the closeness of two tensors and prints the results.
- Split the tensor along the given dimension into chunks.
- Returns a new tensor with the given dimension narrowed to the given range.
- Read a future synchronously.
- Set print options
- Sort the elements of the input
tensor
by value along a given dimension. - Sort the elements of the input
tensor
by value along a given dimension. - Read a future synchronously.
Type Aliases§
- Device type used by the backend.