pub struct FastTanh;Trait Implementations§
Source§impl<D: Dialect> FunctionFmt<D> for FastTanh
impl<D: Dialect> FunctionFmt<D> for FastTanh
fn base_function_name() -> &'static str
fn half_support() -> bool
fn function_name(elem: Elem<D>) -> String
fn format_unary<Input: Display>( f: &mut Formatter<'_>, input: Input, elem: Elem<D>, ) -> Result
Source§impl<D: Dialect> Unary<D> for FastTanh
impl<D: Dialect> Unary<D> for FastTanh
fn format_scalar<Input: Display>( f: &mut Formatter<'_>, input: Input, elem: Elem<D>, ) -> Result
fn can_optimize() -> bool
fn format( f: &mut Formatter<'_>, input: &Variable<D>, out: &Variable<D>, ) -> Result
fn unroll_vec( f: &mut Formatter<'_>, input: &Variable<D>, out: &Variable<D>, out_elem: Elem<D>, index: usize, ) -> Result
Auto Trait Implementations§
impl Freeze for FastTanh
impl RefUnwindSafe for FastTanh
impl Send for FastTanh
impl Sync for FastTanh
impl Unpin for FastTanh
impl UnwindSafe for FastTanh
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