Function Description
Disables the copy assignment operator.
Uses the move assignment operator.
Function Prototype
TensorData& operator= (const TensorData &other)=delete
TensorData& operator= (TensorData &&other) noexcept
Parameters
| Parameter | Input/Output | Description |
| other | Input | Another TensorData object. |
Return Value
A new TensorData object that has other object resources
Calling Example
auto addr = reinterpret_cast<void *>(0x10);
TensorData td(addr, HostAddrManager, 100U, kOnHost);
TensorData new_td = std::move(td);