Function tvm::sub(PrimExpr, PrimExpr, Location)#
Defined in File op.h
Function Documentation#
-
PrimExpr tvm::sub(PrimExpr a, PrimExpr b, Location loc = UnknownLoc())#
subtraction operator
Note
this function does eager constant folding for index types(int32, int64) when possible.
- Parameters:
a – left operand
b – right operand
loc – The location of this operation in the source.
- Returns:
The result expression.