tvm_tirx.ir.prim.indexmod#
- tvm_tirx.ir.prim.indexmod(a, b, loc=UNKNOWN_LOC)#
Compute the remainder of indexdiv. a and b are non-negative.
- Parameters:
- Returns:
res (Expr) – The result expression.
Note
Use this function to split non-negative indices. This function may take advantage of operands’ non-negativeness.