sapient-core 0.3.1

Core types, tensor, DType, buffer, and error handling for SAPIENT
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! SAPIENT core — re-exports for all primary types.

pub mod buffer;
pub mod dtype;
pub mod error;
pub mod shape;
pub mod tensor;

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