tvm_tirx.tirx.script.ptr

Contents

tvm_tirx.tirx.script.ptr#

tvm_tirx.tirx.script.ptr(dtype, storage_scope=_SCOPE_GLOBAL)#

The pointer declaration function.

Parameters:
  • dtype (str) – The data type of the pointer.

  • storage_scope (str) – The storage scope of the pointer.

Returns:

res (Var) – The pointer.

Return type:

Var