Function tvm::prim::trunc#
Defined in File op.h
Function Documentation#
-
PrimExpr tvm::prim::trunc(PrimExpr x, Location loc = UnknownLoc())#
Calculate trunc(x).
- Parameters:
x – The input expression.
loc – The location of this operation in the source.
- Returns:
The result expression.