pub enum RawTensor {
Fp16(&'static [u16]),
Bool(&'static [u8]),
Int32(&'static [i32]),
}Expand description
Raw tensor storage used by mixed-type Hexagon operator-parity cases.
Variants§
Fp16(&'static [u16])
IEEE-754 binary16 elements represented by their exact bits.
Bool(&'static [u8])
TOSA BOOL storage, one zero-or-one byte per element.
Int32(&'static [i32])
Signed INT32 elements.
Implementations§
Trait Implementations§
impl Copy for RawTensor
impl Eq for RawTensor
impl StructuralPartialEq for RawTensor
Auto Trait Implementations§
impl Freeze for RawTensor
impl RefUnwindSafe for RawTensor
impl Send for RawTensor
impl Sync for RawTensor
impl Unpin for RawTensor
impl UnsafeUnpin for RawTensor
impl UnwindSafe for RawTensor
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