pub enum TensorDataMut<'a> {
F32(&'a mut [f32]),
I32(&'a mut [i32]),
}Expand description
Typed Rust-owned tensor storage supplied to a callback.
Variants§
F32(&'a mut [f32])
Mutable finite f32 storage.
I32(&'a mut [i32])
Mutable copied i32 storage. Read-only selectors never commit changes.
Trait Implementations§
Auto Trait Implementations§
impl<'a> !UnwindSafe for TensorDataMut<'a>
impl<'a> Freeze for TensorDataMut<'a>
impl<'a> RefUnwindSafe for TensorDataMut<'a>
impl<'a> Send for TensorDataMut<'a>
impl<'a> Sync for TensorDataMut<'a>
impl<'a> Unpin for TensorDataMut<'a>
impl<'a> UnsafeUnpin for TensorDataMut<'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