Skip to main content

yscv_tensor/
core.rs

1//! Tensor and numeric primitives for the yscv framework.
2#![allow(unsafe_code)]
3
4pub const CRATE_ID: &str = "yscv-tensor";
5
6#[path = "aligned.rs"]
7mod aligned;
8#[path = "error.rs"]
9mod error;
10#[path = "linalg.rs"]
11mod linalg;
12#[path = "ops.rs"]
13mod ops;
14#[path = "shape.rs"]
15mod shape;
16#[path = "simd.rs"]
17mod simd;
18#[path = "tensor.rs"]
19mod tensor;
20
21pub use aligned::AlignedVec;
22pub use error::{DType, TensorError};
23pub use tensor::{Device, Tensor};
24
25#[path = "tests/mod.rs"]
26#[cfg(test)]
27mod tests;