pub struct Round;Trait Implementations§
Source§impl UnaryOpT for Round
impl UnaryOpT for Round
const NAME: &'static str = "round"
const KERNEL: &'static str = "uround"
const V: Self = Round
fn bf16(v: bf16) -> bf16
fn f16(v: f16) -> f16
fn f32(v: f32) -> f32
fn f64(v: f64) -> f64
fn u8(v: u8) -> u8
fn u32(v: u32) -> u32
fn i16(v: i16) -> i16
fn i32(v: i32) -> i32
fn i64(v: i64) -> i64
fn f8e4m3(v: f8e4m3) -> f8e4m3
fn bf16_vec(xs: &[bf16], ys: &mut [bf16])
fn f16_vec(xs: &[f16], ys: &mut [f16])
fn f32_vec(xs: &[f32], ys: &mut [f32])
fn f64_vec(xs: &[f64], ys: &mut [f64])
Auto Trait Implementations§
impl Freeze for Round
impl RefUnwindSafe for Round
impl Send for Round
impl Sync for Round
impl Unpin for Round
impl UnsafeUnpin for Round
impl UnwindSafe for Round
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more