#[repr(u32)]pub enum EfDtype {
U8 = 0,
I8 = 1,
U16 = 2,
I16 = 3,
U32 = 4,
I32 = 5,
U64 = 6,
I64 = 7,
F16 = 8,
F32 = 9,
F64 = 10,
}Expand description
Element type of a tensor’s addressing grid.
Variants§
Trait Implementations§
impl Copy for EfDtype
impl Eq for EfDtype
impl StructuralPartialEq for EfDtype
Auto Trait Implementations§
impl Freeze for EfDtype
impl RefUnwindSafe for EfDtype
impl Send for EfDtype
impl Sync for EfDtype
impl Unpin for EfDtype
impl UnsafeUnpin for EfDtype
impl UnwindSafe for EfDtype
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