tvm_tirx.tirx.script.handle#
- tvm_tirx.tirx.script.handle(dtype=None, storage_scope=_SCOPE_GLOBAL)#
Create a TIR var that represents a pointer.
- Parameters:
dtype (str | None) – The data type of the pointer. If omitted, construct an opaque handle.
storage_scope (str) – The storage scope of the pointer.
- Returns:
res (Expr) – The new tirx.Var with type handle or casted expression with type handle.
- Return type: