Compute Library
18.05
|
Basic function to run NEROIPoolingLayerKernel. More...
#include <NEROIPoolingLayer.h>
Public Member Functions | |
NEROIPoolingLayer () | |
Constructor. More... | |
void | configure (const ITensor *input, const IROIArray *rois, ITensor *output, const ROIPoolingLayerInfo &pool_info) |
Set the input and output tensors. More... | |
void | run () override |
Run the kernels contained in the function. More... | |
Public Member Functions inherited from IFunction | |
virtual | ~IFunction ()=default |
Destructor. More... | |
virtual void | prepare () |
Prepare the function for executing. More... | |
Basic function to run NEROIPoolingLayerKernel.
This function calls the following NEON kernels:
Definition at line 42 of file NEROIPoolingLayer.h.
Constructor.
void configure | ( | const ITensor * | input, |
const IROIArray * | rois, | ||
ITensor * | output, | ||
const ROIPoolingLayerInfo & | pool_info | ||
) |
Set the input and output tensors.
[in] | input | Source tensor. Data types supported: F32. |
[in] | rois | Array containing ROI. |
[out] | output | Destination tensor. Data types supported: Same as input . |
[in] | pool_info | Contains pooling operation information described in ROIPoolingLayerInfo. |
output
tensor must be the same as that specified by pool_info
's pooled width and pooled height. output
tensor and input
tensor must be the same. output
tensor must be the same as the number of elements in rois
array.
|
overridevirtual |
Run the kernels contained in the function.
For NEON kernels:
For OpenCL kernels:
Implements IFunction.