tvm_tirx.tirx.call_packed#
- tvm_tirx.tirx.call_packed(*args, loc=UNKNOWN_LOC, ty=None)#
Build expression by call an external packed function.
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:
- Returns:
call (Expr) – The call expression.
See also
te.externCreate tensor with extern function call.