Function tvm::prim::if_then_else_op

Function tvm::prim::if_then_else_op#

Function Documentation#

const Op &tvm::prim::if_then_else_op()#

Same as select, used for unsafe memory access.

Type tvm_if_then_else(cond, a, b) { return cond ? a : b; }