Skip to main content

sapient_core/
lib.rs

1//! SAPIENT core — re-exports for all primary types.
2
3pub mod buffer;
4pub mod dtype;
5pub mod error;
6pub mod shape;
7pub mod tensor;
8
9pub use buffer::{Buffer, BufferHandle, CpuBuffer};
10pub use dtype::{
11    DType, K_QUANT_BLOCK_SIZE, Q4_0_BLOCK_BYTES, Q4_K_BLOCK_BYTES, Q5_K_BLOCK_BYTES,
12    Q6_K_BLOCK_BYTES, Q8_0_BLOCK_BYTES, QUANT_BLOCK_SIZE,
13};
14pub use error::{Result, SapientError};
15pub use shape::Shape;
16pub use tensor::Tensor;