pub struct TensorMut<'a> {
pub data: &'a mut [f32],
pub dimensions: &'a [u32],
}
Fields§
§data: &'a mut [f32]
§dimensions: &'a [u32]
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for TensorMut<'a>
impl<'a> RefUnwindSafe for TensorMut<'a>
impl<'a> Send for TensorMut<'a>
impl<'a> Sync for TensorMut<'a>
impl<'a> Unpin for TensorMut<'a>
impl<'a> !UnwindSafe for TensorMut<'a>
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