pub struct STensor {
pub data: Vec<f32>,
pub shape: Vec<usize>,
}Expand description
One tensor decoded to f32 plus its shape.
Fields§
§data: Vec<f32>§shape: Vec<usize>Auto Trait Implementations§
impl Freeze for STensor
impl RefUnwindSafe for STensor
impl Send for STensor
impl Sync for STensor
impl Unpin for STensor
impl UnsafeUnpin for STensor
impl UnwindSafe for STensor
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