Expand description
Burn ndarray backend.
Macros§
- cat_
with_ dtype - Macro to execute an cat operation on a given set of element types.
- execute_
with_ dtype - Macro to execute an operation a given element type.
- execute_
with_ float_ dtype - Macro to execute an operation a given element type. Only handles float types.
- execute_
with_ int_ dtype - Macro to execute an operation a given element type. Only handles int types.
- execute_
with_ numeric_ dtype - Macro to execute an operation a given element type. Only handles numeric types
- iter_
par multi-threads - Macro for iterating in parallel.
- iter_
range_ par multi-threads - Macro for iterating over a range in parallel.
- iter_
slice_ par multi-threads - Macro for iterating in parallel.
- reshape
- Reshapes an array into a tensor.
- run_par
multi-threads - Macro for running a function in parallel.
- 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.
Enums§
- NdArray
Device - The device type for the ndarray backend.
- NdArray
Tensor - Tensor primitive used by the ndarray backend.
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.
Type Aliases§
- Shared
Array - Concrete storage type for ndarray