Skip to main content

Crate sapient_core

Crate sapient_core 

Source
Expand description

SAPIENT core — re-exports for all primary types.

Re-exports§

pub use buffer::Buffer;
pub use buffer::BufferHandle;
pub use buffer::CpuBuffer;
pub use dtype::DType;
pub use dtype::K_QUANT_BLOCK_SIZE;
pub use dtype::Q4_0_BLOCK_BYTES;
pub use dtype::Q4_K_BLOCK_BYTES;
pub use dtype::Q5_K_BLOCK_BYTES;
pub use dtype::Q6_K_BLOCK_BYTES;
pub use dtype::Q8_0_BLOCK_BYTES;
pub use dtype::QUANT_BLOCK_SIZE;
pub use error::Result;
pub use error::SapientError;
pub use shape::Shape;
pub use tensor::Tensor;

Modules§

buffer
Buffer trait and CpuBuffer — aligned, heap-allocated byte storage.
dtype
DType — element data-type enum for tensors.
error
SapientError — unified error type for the entire SAPIENT engine.
shape
Shape — tensor shape utilities and broadcasting rules.
tensor
Tensor — the central multi-dimensional array type in SAPIENT.