tvm_tirx.tirx.call_packed_lowered

tvm_tirx.tirx.call_packed_lowered#

tvm_tirx.tirx.call_packed_lowered(*args, loc=UNKNOWN_LOC, ty=None)#

Lowered version of call packed. The argument to a packed function can be an Expr or a tensor variable. The argument is the corresponding POD type when Expr is presented. When the argument is a Var carrying TensorType, the corresponding PackedFunc will receive an TVMArrayHandle whose content is valid during the callback period. If the PackedFunc is a python callback, then the corresponding argument is Tensor.

Parameters:
  • args (list of Expr or Var.) – Positional arguments.

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

Returns:

call (Expr) – The call expression.

See also

te.extern

Create tensor with extern function call.