1 2 3 4 5 6 7 8 9 10 11 12 13 14
pub mod getset; pub mod shape; pub mod axis; pub mod slice; pub mod iter; pub mod math; use shape::Shape; pub struct Tensor { pub(crate) data: Vec<f32>, pub(crate) shape: Shape, }