24.02.1
|
Basic function to run NEPriorBoxLayerKernel. More...
#include <NEPriorBoxLayer.h>
Public Member Functions | |
void | configure (const ITensor *input1, const ITensor *input2, ITensor *output, const PriorBoxLayerInfo &info) |
Set the input and output tensors. More... | |
Public Member Functions inherited from INESimpleFunctionNoBorder | |
INESimpleFunctionNoBorder (IRuntimeContext *ctx=nullptr) | |
Constructor. More... | |
INESimpleFunctionNoBorder (const INESimpleFunctionNoBorder &)=delete | |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
INESimpleFunctionNoBorder (INESimpleFunctionNoBorder &&)=default | |
Default move constructor. More... | |
INESimpleFunctionNoBorder & | operator= (const INESimpleFunctionNoBorder &)=delete |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
INESimpleFunctionNoBorder & | operator= (INESimpleFunctionNoBorder &&)=default |
Default move assignment operator. More... | |
~INESimpleFunctionNoBorder () | |
Default destructor. More... | |
void | run () override final |
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... | |
Static Public Member Functions | |
static Status | validate (const ITensorInfo *input1, const ITensorInfo *input2, const ITensorInfo *output, const PriorBoxLayerInfo &info) |
Static function to check if given info will lead to a valid configuration of NEPriorBoxLayer. More... | |
Basic function to run NEPriorBoxLayerKernel.
Definition at line 36 of file NEPriorBoxLayer.h.
void configure | ( | const ITensor * | input1, |
const ITensor * | input2, | ||
ITensor * | output, | ||
const PriorBoxLayerInfo & | info | ||
) |
Set the input and output tensors.
Valid data layouts:
Valid data type configurations:
src0 | src1 | dst |
---|---|---|
F32 | F32 | F32 |
[in] | input1 | First source tensor. Data types supported: F32. Data layouts supported: NCHW/NHWC. |
[in] | input2 | Second source tensor. Data types and layouts supported: same as input1 |
[out] | output | Destination tensor. Output dimensions are [W * H * num_priors * 4, 2]. Data type supported: same as input |
[in] | info | Prior box layer info. |
Definition at line 39 of file NEPriorBoxLayer.cpp.
References ARM_COMPUTE_LOG_PARAMS, and arm_compute::test::validation::info.
|
static |
Static function to check if given info will lead to a valid configuration of NEPriorBoxLayer.
[in] | input1 | First source tensor info. Data types supported: F32. Data layouts supported: NCHW/NHWC. |
[in] | input2 | Second source tensor info. Data types and layouts supported: same as input1 |
[in] | output | Destination tensor info. Output dimensions are [W * H * num_priors * 4, 2]. Data type supported: same as input |
[in] | info | Prior box layer info. |
Definition at line 51 of file NEPriorBoxLayer.cpp.
References arm_compute::test::validation::info, and NEPriorBoxLayerKernel::validate().