tvm_tirx::ir::prim::op

Function if_then_else_at

Source
pub fn if_then_else_at(
    cond: impl IntoExpr,
    true_value: impl IntoExpr,
    false_value: impl IntoExpr,
    loc: impl Into<Location>,
) -> Result<Expr>
Expand description

if_then_else at loc.