tvm_tirx.tirx.script.max_value

Contents

tvm_tirx.tirx.script.max_value#

tvm_tirx.tirx.script.max_value(*, ty, loc=UNKNOWN_LOC)#

maximum value of ty

Parameters:
  • ty (str) – The data type.

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

Returns:

value (tvm_tirx.ir.Expr) – The maximum value of ty.

Return type:

Any