ruPRIM-host 0.1.22

ruPRIM CPU tensor primitives, reductions, indexing and SIMD kernels.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use alloc::vec::Vec;
#[cfg(not(feature = "std"))]
#[allow(unused_imports)]
use num_traits::Float;
use half::{bf16, f16};
use ruda_core::{bytes::Bytes, tensor::{DType, FloatDType, Shape, Slice, TensorMetadata, data::TensorData, execution::ExecutionError, host::{HostTensor, Layout, dtype::float_storage_as_f32}, quantization::{QuantLevel, QuantScheme, QuantStore, QuantizedBytes, QParams}}};

mod tensor;
pub use tensor::HostQTensor;
mod conversion;
pub use conversion::*;
mod transfer;
pub use transfer::*;
mod layout;
pub use layout::*;