Move the StridedIndex in its own module.

This commit is contained in:
laurent
2023-06-21 07:44:36 +01:00
parent 23db8a7da8
commit 3a5405ca6d
4 changed files with 66 additions and 63 deletions

View File

@ -4,6 +4,7 @@ mod error;
mod op;
mod shape;
mod storage;
mod strided_index;
mod tensor;
pub use device::Device;
@ -11,4 +12,5 @@ pub use dtype::{DType, WithDType};
pub use error::{Error, Result};
pub use shape::Shape;
pub use storage::{CpuStorage, Storage};
use strided_index::StridedIndex;
pub use tensor::{Tensor, TensorId};