Trait cubecl_core::frontend::Log

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

Provided Methods§

source

fn log(x: Self) -> Self

source

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

Object Safety§

This trait is not object safe.

Implementors§

source§

impl Log for BF16

source§

impl Log for F16

source§

impl Log for F32

source§

impl Log for F64