Re-exports§
pub use backend::Backend;pub use backend::ThreadSafe;pub use dtype::DType;pub use dtype::DTypeQ;pub use dtype::WithDType;pub use dtype::WithDTypeF;pub use error::Context;pub use error::Error;pub use error::Result;pub use shape::D;pub use shape::Dim;pub use shape::Shape;pub use tensor::Tensor;pub use tensor::TypedTensor;pub use tensor_view::TensorOrView;pub use tensor_view::TensorView;pub use utils::get_num_cpus;pub use utils::get_num_threads;pub use utils::set_num_threads;
Modules§
- backend
- convert
- Implement conversion traits for tensors
- cpu_
backend - display
- Pretty printing of tensors
- dtype
- error
- inplace_
ops - models
- nn
- ops
- quantized
- Code for GGML and GGUF files
- safetensors
- shape
- The shape of a tensor is a tuple with the size of each of its dimensions.
- streaming
- tensor
- tensor_
view - threadpool
- A persistent worker pool for fan-out inside a single operator.
- utils
Macros§
Structs§
Constants§
Traits§
Functions§
- run_
with_ device - with_
avx - with_
dotprod - with_
f16c - with_
kleidi_ ai - Whether xn was built with KleidiAI’s kernels: the
kaifeature, on a target they support. They run only on a CPU with SME2, and not whenXN_KAIis0. - with_
neon - with_
simd128