ToDevice

Function Usage

Deploys a tensor object to the memory on the device.

Prototype

1
APP_ERROR TensorBase::ToDevice(int32_t deviceId);

Parameters

Parameter

Input/Output

Description

deviceId

Input

Device ID

Response Parameters

Data Structure

Description

APP_ERROR

For details about the returned error codes, see APP_ERROR Description.