CheckAndMoveTensors
Function Usage
A protected member function that calls IsValidTensors to verify the tensor, and transfers the memory of the correct tensor to the host.
Prototype
1 | APP_ERROR PostProcessBase::CheckAndMoveTensors(std::vector<TensorBase> &tensors); |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
tensors |
Input |
Input tensor. |
Response Parameters
Data Structure |
Description |
|---|---|
APP_ERROR |
For details about the returned error codes, see APP_ERROR Description. |
Parent topic: PostProcessBase