tvm_tirx.tirx.script.abs

Contents

tvm_tirx.tirx.script.abs#

tvm_tirx.tirx.script.abs(x, loc=UNKNOWN_LOC)#

Get absolute value of the input element-wise.

Parameters:
  • x (Expr) – Input argument.

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

Returns:

y (Expr) – The result.