pub struct PackedTensor {
pub shape: &'static [usize],
pub bytes: &'static [u8],
}Expand description
One immutable packed low-precision tensor.
Fields§
§shape: &'static [usize]Static row-major logical shape.
bytes: &'static [u8]Densely packed elements in TOSA byte order.
Trait Implementations§
Source§impl Clone for PackedTensor
impl Clone for PackedTensor
impl Copy for PackedTensor
Source§impl Debug for PackedTensor
impl Debug for PackedTensor
impl Eq for PackedTensor
Source§impl PartialEq for PackedTensor
impl PartialEq for PackedTensor
impl StructuralPartialEq for PackedTensor
Auto Trait Implementations§
impl Freeze for PackedTensor
impl RefUnwindSafe for PackedTensor
impl Send for PackedTensor
impl Sync for PackedTensor
impl Unpin for PackedTensor
impl UnsafeUnpin for PackedTensor
impl UnwindSafe for PackedTensor
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