1 | APP_ERROR Tensor::ToDevice(int32_t deviceId); |
Parameter |
Input/Output |
Description |
|---|---|---|
deviceId |
Input |
Transfers a tensor to the device specified by deviceId. The deviceId must be a valid device ID. |
Data Structure |
Description |
|---|---|
APP_ERROR |
For details about the returned error codes, see APP_ERROR Description. |