pub enum AbstractDtype {
Show 15 variants
F64,
F32,
F16,
Bf16,
I16,
I32,
I64,
U32,
U8,
F8E4M3,
F6E2M3,
F6E3M2,
F4,
F8E8M0,
Unknown,
}Expand description
Abstract dtype carried on expression nodes. Coarse by intent.
Variants§
F64
F32
F16
Bf16
I16
I32
I64
U32
U8
F8E4M3
F6E2M3
F6E3M2
F4
F8E8M0
Unknown
Could not be determined statically.
Implementations§
Trait Implementations§
Source§impl Clone for AbstractDtype
impl Clone for AbstractDtype
Source§fn clone(&self) -> AbstractDtype
fn clone(&self) -> AbstractDtype
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AbstractDtype
Source§impl Debug for AbstractDtype
impl Debug for AbstractDtype
Source§impl Display for AbstractDtype
impl Display for AbstractDtype
impl Eq for AbstractDtype
Source§impl Hash for AbstractDtype
impl Hash for AbstractDtype
Source§impl Ord for AbstractDtype
impl Ord for AbstractDtype
Source§fn cmp(&self, other: &AbstractDtype) -> Ordering
fn cmp(&self, other: &AbstractDtype) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for AbstractDtype
impl PartialEq for AbstractDtype
Source§impl PartialOrd for AbstractDtype
impl PartialOrd for AbstractDtype
Source§impl Serialize for AbstractDtype
impl Serialize for AbstractDtype
impl StructuralPartialEq for AbstractDtype
Auto Trait Implementations§
impl Freeze for AbstractDtype
impl RefUnwindSafe for AbstractDtype
impl Send for AbstractDtype
impl Sync for AbstractDtype
impl Unpin for AbstractDtype
impl UnsafeUnpin for AbstractDtype
impl UnwindSafe for AbstractDtype
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