CheckAndMoveTensors
Function Usage
This is a protected member function that calls IsValidTensors to verify the tensor, and transfers the memory of the correct tensor to the host.
Prototype
APP_ERROR CheckAndMoveTensors(std::vector<TensorBase> &tensors);
Parameter Description
Parameter |
Input/Output |
Description |
|---|---|---|
tensors |
Input |
Input tensor |
Return Parameter Description
Data Structure |
Description |
|---|---|
APP_ERROR |
Validation result |
Parent topic: PostProcessBase