mirror of
https://github.com/huggingface/candle.git
synced 2025-06-19 11:56:45 +00:00
Stream tensor (#2429)
* Support Minus(u) for arbitrary values of u, e.g. Minus(3). * Forces u to be strictly positive. * Add StreamTensor.
This commit is contained in:
@ -65,6 +65,7 @@ pub mod scalar;
|
||||
pub mod shape;
|
||||
mod sort;
|
||||
mod storage;
|
||||
pub mod streaming;
|
||||
mod strided_index;
|
||||
mod tensor;
|
||||
mod tensor_cat;
|
||||
@ -84,6 +85,7 @@ pub use indexer::IndexOp;
|
||||
pub use layout::Layout;
|
||||
pub use shape::{Shape, D};
|
||||
pub use storage::Storage;
|
||||
pub use streaming::{StreamTensor, StreamingBinOp, StreamingModule};
|
||||
pub use strided_index::{StridedBlocks, StridedIndex};
|
||||
pub use tensor::{Tensor, TensorId};
|
||||
pub use variable::Var;
|
||||
|
Reference in New Issue
Block a user