Trait cubecl_core::frontend::Cos

source ·
pub trait Cos: CubePrimitive + Sized {
    // Provided methods
    fn cos(x: Self) -> Self { ... }
    fn __expand_cos(
        context: &mut CubeContext,
        x: Self::ExpandType,
    ) -> ExpandElementTyped<Self> { ... }
}

Provided Methods§

source

fn cos(x: Self) -> Self

source

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

Object Safety§

This trait is not object safe.

Implementors§

source§

impl Cos for BF16

source§

impl Cos for F16

source§

impl Cos for F32

source§

impl Cos for F64