tvm_tirx.tirx.call_extern

Contents

tvm_tirx.tirx.call_extern#

tvm_tirx.tirx.call_extern(func_name, *args, ty, loc=UNKNOWN_LOC)#

Build expression by calling a extern function.

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

  • func_name (str) – The extern function name.

  • args (list) – Positional arguments.

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

Returns:

call (Expr) – The call expression.