Function tvm::prim::floor

Function tvm::prim::floor#

Function Documentation#

PrimExpr tvm::prim::floor(PrimExpr x, Location loc = UnknownLoc())#

Calculate floor(x).

Parameters:
  • x – The input expression.

  • loc – The location of this operation in the source.

Returns:

The result expression.