Enum candle_core::DType
source · pub enum DType {
U8,
U32,
I64,
BF16,
F16,
F32,
F64,
}
Expand description
The different types of elements allowed in tensors.
Variants§
Implementations§
Trait Implementations§
source§impl PartialEq for DType
impl PartialEq for DType
impl Copy for DType
impl Eq for DType
impl StructuralEq for DType
impl StructuralPartialEq for DType
Auto Trait Implementations§
impl RefUnwindSafe for DType
impl Send for DType
impl Sync for DType
impl Unpin for DType
impl UnwindSafe for DType
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