cubecl_core::frontend

Function unary_expand

Source
pub fn unary_expand<F>(
    context: &mut CubeContext,
    input: ExpandElement,
    func: F,
) -> ExpandElement
where F: Fn(UnaryOperator) -> Operator,