Deploys a tensor object to the memory on the device.
1 | APP_ERROR TensorBase::ToDevice(int32_t deviceId); |
Parameter |
Input/Output |
Description |
|---|---|---|
deviceId |
Input |
Device ID |
Data Structure |
Description |
|---|---|
APP_ERROR |
For details about the returned error codes, see APP_ERROR Description. |