pub struct Tensor { /* private fields */ }Available on crate feature
tensor-ptr only.Expand description
A minimal Tensor type whose API is a source compatible subset of at::Tensor.
Trait Implementations§
Source§impl ExternType for Tensor
Available on crate feature std only.
impl ExternType for Tensor
Available on crate feature
std only.Auto Trait Implementations§
impl !Freeze for Tensor
impl RefUnwindSafe for Tensor
impl !Send for Tensor
impl !Sync for Tensor
impl !Unpin for Tensor
impl UnwindSafe for Tensor
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