21.02
|
Basic function to run CLComplexPixelWiseMultiplicationKernel. More...
#include <CLPixelWiseMultiplication.h>
Public Member Functions | |
CLComplexPixelWiseMultiplication () | |
Default Constructor. More... | |
~CLComplexPixelWiseMultiplication () | |
Default Destructor. More... | |
CLComplexPixelWiseMultiplication (const CLComplexPixelWiseMultiplication &)=delete | |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
CLComplexPixelWiseMultiplication (CLComplexPixelWiseMultiplication &&) | |
Default move constructor. More... | |
CLComplexPixelWiseMultiplication & | operator= (const CLComplexPixelWiseMultiplication &)=delete |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
CLComplexPixelWiseMultiplication & | operator= (CLComplexPixelWiseMultiplication &&) |
Default move assignment operator. More... | |
void | configure (ICLTensor *input1, ICLTensor *input2, ICLTensor *output, const ActivationLayerInfo &act_info=ActivationLayerInfo()) |
Initialise the kernel's inputs, output. More... | |
void | configure (const CLCompileContext &compile_context, ICLTensor *input1, ICLTensor *input2, ICLTensor *output, const ActivationLayerInfo &act_info=ActivationLayerInfo()) |
Initialise the kernel's inputs, output. 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... | |
Static Public Member Functions | |
static Status | validate (const ITensorInfo *input1, const ITensorInfo *input2, const ITensorInfo *output, const ActivationLayerInfo &act_info=ActivationLayerInfo()) |
Static function to check if given info will lead to a valid configuration of CLComplexPixelWiseMultiplication. More... | |
Basic function to run CLComplexPixelWiseMultiplicationKernel.
Definition at line 263 of file CLPixelWiseMultiplication.h.
Default Constructor.
Definition at line 184 of file CLPixelWiseMultiplication.cpp.
References CLComplexPixelWiseMultiplication::operator=(), and CLComplexPixelWiseMultiplication::~CLComplexPixelWiseMultiplication().
|
default |
Default Destructor.
Referenced by CLComplexPixelWiseMultiplication::CLComplexPixelWiseMultiplication().
|
delete |
Prevent instances of this class from being copied (As this class contains pointers)
|
default |
Default move constructor.
void configure | ( | ICLTensor * | input1, |
ICLTensor * | input2, | ||
ICLTensor * | output, | ||
const ActivationLayerInfo & | act_info = ActivationLayerInfo() |
||
) |
Initialise the kernel's inputs, output.
[in,out] | input1 | An input tensor. Data types supported: F16/F32. Number of channels supported: 2. The input tensor is [in, out] because its TensorInfo might be modified inside the kernel in case of broadcasting of dimension 0. |
[in,out] | input2 | An input tensor. Data types supported: same as input1 . Number of channels supported: same as input1 . The input tensor is [in, out] because its TensorInfo might be modified inside the kernel in case of broadcasting of dimension 0. |
[out] | output | The output tensor, Data types supported: same as input1 . Number of channels supported: same as input1 . |
[in] | act_info | (Optional) Activation layer information in case of a fused activation. |
Definition at line 192 of file CLPixelWiseMultiplication.cpp.
References CLKernelLibrary::get().
Referenced by CLFFTConvolutionLayer::configure().
void configure | ( | const CLCompileContext & | compile_context, |
ICLTensor * | input1, | ||
ICLTensor * | input2, | ||
ICLTensor * | output, | ||
const ActivationLayerInfo & | act_info = ActivationLayerInfo() |
||
) |
Initialise the kernel's inputs, output.
[in] | compile_context | The compile context to be used. |
[in,out] | input1 | An input tensor. Data types supported: F16/F32. Number of channels supported: 2. The input tensor is [in, out] because its TensorInfo might be modified inside the kernel in case of broadcasting of dimension 0. |
[in,out] | input2 | An input tensor. Data types supported: same as input1 . Number of channels supported: same as input1 . The input tensor is [in, out] because its TensorInfo might be modified inside the kernel in case of broadcasting of dimension 0. |
[out] | output | The output tensor, Data types supported: same as input1 . Number of channels supported: same as input1 . |
[in] | act_info | (Optional) Activation layer information in case of a fused activation. |
Definition at line 197 of file CLPixelWiseMultiplication.cpp.
References ITensor::info().
|
delete |
Prevent instances of this class from being copied (As this class contains pointers)
Referenced by CLComplexPixelWiseMultiplication::CLComplexPixelWiseMultiplication().
|
default |
Default move assignment operator.
|
overridevirtual |
Run the kernels contained in the function.
For Neon kernels:
For OpenCL kernels:
Implements IFunction.
Definition at line 211 of file CLPixelWiseMultiplication.cpp.
References arm_compute::ACL_DST, arm_compute::ACL_SRC_0, arm_compute::ACL_SRC_1, and ITensorPack::add_tensor().
Referenced by CLFFTConvolutionLayer::run().
|
static |
Static function to check if given info will lead to a valid configuration of CLComplexPixelWiseMultiplication.
[in] | input1 | An input tensor info. Data types supported: F16/F32. Number of channels supported: 2. |
[in] | input2 | An input tensor info. Data types supported: same as input1 . Number of channels supported: same as input1 . |
[in] | output | The output tensor info, Data types supported: same as input1 . Number of channels supported: same as input1 . |
[in] | act_info | (Optional) Activation layer information in case of a fused activation. |
Definition at line 206 of file CLPixelWiseMultiplication.cpp.
References CLComplexPixelWiseMultiplication::validate().