pub struct Abs;Trait Implementations§
Source§impl UnaryOpT for Abs
impl UnaryOpT for Abs
const NAME: &'static str = "abs"
const KERNEL: &'static str = "uabs"
const V: Self = Abs
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
const BF16_VEC: bool = false
fn bf16_vec(_xs: &[bf16], _ys: &mut [bf16])
const F16_VEC: bool = false
fn f16_vec(_xs: &[f16], _ys: &mut [f16])
const F32_VEC: bool = false
fn f32_vec(_xs: &[f32], _ys: &mut [f32])
const F64_VEC: bool = false
fn f64_vec(_xs: &[f64], _ys: &mut [f64])
Auto Trait Implementations§
impl Freeze for Abs
impl RefUnwindSafe for Abs
impl Send for Abs
impl Sync for Abs
impl Unpin for Abs
impl UnsafeUnpin for Abs
impl UnwindSafe for Abs
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
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