24.02.1
|
Basic function to run opencl::ClComplexMul. 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 opencl::ClComplexMul.
Definition at line 146 of file CLPixelWiseMultiplication.h.
Default Constructor.
Definition at line 109 of file CLPixelWiseMultiplication.cpp.
|
default |
Default Destructor.
|
delete |
Prevent instances of this class from being copied (As this class contains pointers)
|
default |
Default move constructor.
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 125 of file CLPixelWiseMultiplication.cpp.
References arm_compute::test::validation::act_info, and ITensor::info().
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 117 of file CLPixelWiseMultiplication.cpp.
References arm_compute::test::validation::act_info, and CLKernelLibrary::get().
Referenced by CLFFTConvolutionLayer::configure().
|
default |
Default move assignment operator.
|
delete |
Prevent instances of this class from being copied (As this class contains pointers)
|
overridevirtual |
Run the kernels contained in the function.
For CPU kernels:
For OpenCL kernels:
Implements IFunction.
Definition at line 146 of file CLPixelWiseMultiplication.cpp.
References arm_compute::ACL_DST, arm_compute::ACL_SRC_0, arm_compute::ACL_SRC_1, ITensorPack::add_tensor(), and arm_compute::test::validation::pack.
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 138 of file CLPixelWiseMultiplication.cpp.
References arm_compute::test::validation::act_info, and ClComplexMul::validate().