Free
Description
Frees a tensor.
Prototype
ge::graphStatus Free()
Parameters
None
Returns
If the operation is successful, ge::GRAPH_SUCCESS is returned. If the operation fails, the status code returned by the manager function is returned.
For details about the definition of the ge::graphStatus type, see ge::graphStatus.
Restrictions
None
Example
auto addr = reinterpret_cast<void *>(0x10); TensorData td(addr, nullptr); td.Free();
Parent topic: TensorData