cubecl_core::frontend

Function unary_expand_fixed_output

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