pub enum CastDirection {
F16ToF32,
F32ToF16,
BF16ToF32,
F32ToBF16,
}Expand description
Cast direction for dtype conversion.
Variants§
Auto Trait Implementations§
impl Freeze for CastDirection
impl RefUnwindSafe for CastDirection
impl Send for CastDirection
impl Sync for CastDirection
impl Unpin for CastDirection
impl UnsafeUnpin for CastDirection
impl UnwindSafe for CastDirection
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