tvm_tirx.ir.prim.floor

Contents

tvm_tirx.ir.prim.floor#

tvm_tirx.ir.prim.floor(x, loc=UNKNOWN_LOC)#

Take floor of float input x.

Parameters:
  • x (Expr) – Input argument.

  • loc (Location, optional) – The location of this operator in the source code.

Returns:

y (Expr) – The result.