GetAddr
Function Usage
Obtains the tensor data address. If the manager function exists, the address is provided by the manager.
Prototype
1 | TensorAddress GetAddr() const |
Parameters
None
Returns
Tensor address.
Constraints
None
Examples
1 2 3 | auto addr = reinterpret_cast<void *>(0x10); TensorData td(addr, nullptr); auto addr = td.GetAddr(); // 0x10 |
Parent topic: TensorData