pub struct TensorObj { /* private fields */ }Expand description
The object behind a Tensor: an object header followed by a DLTensor.
Trait Implementations§
Source§impl ObjectCore for TensorObj
impl ObjectCore for TensorObj
Auto Trait Implementations§
impl !Freeze for TensorObj
impl RefUnwindSafe for TensorObj
impl !Send for TensorObj
impl !Sync for TensorObj
impl Unpin for TensorObj
impl UnsafeUnpin for TensorObj
impl UnwindSafe for TensorObj
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