GetAddr

Description

Obtains the tensor data address. If the manager function exists, the address is provided by the manager.

Prototype

TensorAddress GetAddr() const

Parameters

None

Returns

Tensor address

Restrictions

None

Example

auto addr = reinterpret_cast<void *>(0x10);
TensorData td(addr, nullptr);
auto addr = td.GetAddr(); // 0x10