tvm_tirx.tirx.tensor_data_ptr

tvm_tirx.tirx.tensor_data_ptr#

tvm_tirx.tirx.tensor_data_ptr(tensor, *, ty=None, loc=UNKNOWN_LOC)#

Project a tensor variable’s physical pointer.

The result type is inferred from its element type and storage scope. ty may supply an explicit result type; loc records the source location.

Parameters:

loc (Location)