oxmera_tensor/lib.rs
1//! The oxmera tensor type: storage ownership and views.
2//!
3//! This layer owns the `Tensor` value itself — which buffer it references,
4//! with what layout, on which device — and the view operations that change
5//! layout without touching data. It must never know about backends,
6//! dispatch, or how any operation is computed. It may depend only on
7//! `oxmera-core`.
8//!
9//! Status: seams only. Constructors and view arithmetic are exercise rungs
10//! (A1 shape and strides, A3 strided views); bodies are `todo!()`.
11
12#![forbid(unsafe_code)]
13#![warn(missing_docs)]
14
15pub mod storage;
16pub mod tensor;
17
18pub use storage::Storage;
19pub use tensor::Tensor;