pub struct TensorRef {
pub storage: StorageRef,
pub offset_elems: usize,
pub shape: Vec<usize>,
pub stride: Vec<usize>,
}Fields§
§storage: StorageRef§offset_elems: usize§shape: Vec<usize>§stride: Vec<usize>Trait Implementations§
Auto Trait Implementations§
impl Freeze for TensorRef
impl RefUnwindSafe for TensorRef
impl Send for TensorRef
impl Sync for TensorRef
impl Unpin for TensorRef
impl UnsafeUnpin for TensorRef
impl UnwindSafe for TensorRef
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more