cubecl_core::frontend

Trait Tanh

Source
pub trait Tanh: CubePrimitive + Sized {
    // Provided methods
    fn tanh(x: Self) -> Self { ... }
    fn __expand_tanh(
        context: &mut CubeContext,
        x: Self::ExpandType,
    ) -> ExpandElementTyped<Self> { ... }
}

Provided Methods§

Source

fn tanh(x: Self) -> Self

Source

fn __expand_tanh( context: &mut CubeContext, x: Self::ExpandType, ) -> ExpandElementTyped<Self>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl Tanh for f32

Source§

impl Tanh for f64

Source§

impl Tanh for bf16

Source§

impl Tanh for f16

Implementors§