Expand description
Burn ndarray backend.
Macros§
- execute_
with_ float_ dtype - Macro to execute an operation a given element type.
- new_
tensor_ float - Macro to create a new float tensor based on the element type.
- reshape
- Reshapes an array into a tensor.
- to_
typed_ dims - Converts a slice of usize to a typed dimension.
Structs§
- NdArray
- Tensor backend that uses the ndarray crate for executing tensor operations.
- NdArrayQ
Tensor - A quantized tensor for the ndarray backend.
- NdArray
Tensor - Tensor primitive used by the ndarray backend.
Enums§
- NdArray
Device - The device type for the ndarray backend.
- NdArray
Tensor Float - Float tensor primitive.
Traits§
- ExpElement
- A element for ndarray backend that supports exp ops.
- Float
NdArray Element - A float element for ndarray backend.
- IntNd
Array Element - An int element for ndarray backend.
- NdArray
Element - A general element for ndarray backend.
- Quant
Element - A quantized element for the ndarray backend.