Merge pull request #127 from LaurentMazare/tensor_indexing

`i(..)` indexing sugar (partial).
This commit is contained in:
Nicolas Patry
2023-07-10 19:56:34 +02:00
committed by GitHub
3 changed files with 246 additions and 1 deletions

View File

@ -43,6 +43,7 @@ pub mod display;
mod dtype;
mod dummy_cuda_backend;
mod error;
mod indexer;
mod layout;
#[cfg(feature = "mkl")]
mod mkl;
@ -59,6 +60,7 @@ pub use cpu_backend::CpuStorage;
pub use device::{Device, DeviceLocation};
pub use dtype::{DType, WithDType};
pub use error::{Error, Result};
pub use indexer::IndexOp;
pub use layout::Layout;
pub use shape::{Shape, D};
pub use storage::Storage;