SetValidRoi
Function Usage
Sets a valid region of TensorBase, applicable only to TensorBase objects with the NHWC (N = 1), HWC, and HW dimensions. The width and height of the valid region cannot exceed those of the source image.
Not supported by the
Prototype
1 | APP_ERROR TensorBase::SetValidRoi(Rect rect); |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
rect |
Input |
Valid data region of a TensorBase object. For details about the data type, see Rect. |
Response Parameters
Data Structure |
Description |
|---|---|
APP_ERROR |
For details about the returned error codes, see APP_ERROR Description. |
Parent topic: TensorBase