pub struct Sign;Trait Implementations§
Source§impl UnaryOpT for Sign
impl UnaryOpT for Sign
const NAME: &'static str = "sign"
const KERNEL: &'static str = "usign"
const V: Self = Sign
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 Sign
impl RefUnwindSafe for Sign
impl Send for Sign
impl Sync for Sign
impl Unpin for Sign
impl UnsafeUnpin for Sign
impl UnwindSafe for Sign
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