Trait cubecl_core::frontend::Abs
source · pub trait Abs: CubePrimitive + Sized {
// Provided methods
fn abs(x: Self) -> Self { ... }
fn __expand_abs(
context: &mut CubeContext,
x: Self::ExpandType,
) -> ExpandElementTyped<Self> { ... }
}
Provided Methods§
fn abs(x: Self) -> Self
fn __expand_abs( context: &mut CubeContext, x: Self::ExpandType, ) -> ExpandElementTyped<Self>
Object Safety§
This trait is not object safe.