21.02
|
Basic function to execute an CLMagnitudePhaseKernel. More...
#include <CLPhase.h>
Public Member Functions | |
void | configure (const ICLTensor *input1, const ICLTensor *input2, ICLTensor *output, PhaseType phase_type=PhaseType::SIGNED) |
Initialise the kernel's inputs, output. More... | |
void | configure (const CLCompileContext &compile_context, const ICLTensor *input1, const ICLTensor *input2, ICLTensor *output, PhaseType phase_type=PhaseType::SIGNED) |
Initialise the kernel's inputs, output. More... | |
Public Member Functions inherited from ICLSimpleFunction | |
ICLSimpleFunction (CLRuntimeContext *ctx=nullptr) | |
Constructor. More... | |
ICLSimpleFunction (const ICLSimpleFunction &)=delete | |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
ICLSimpleFunction (ICLSimpleFunction &&)=default | |
Default move constructor. More... | |
ICLSimpleFunction & | operator= (const ICLSimpleFunction &)=delete |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
ICLSimpleFunction & | operator= (ICLSimpleFunction &&)=default |
Default move assignment operator. More... | |
~ICLSimpleFunction () | |
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... | |
Basic function to execute an CLMagnitudePhaseKernel.
void configure | ( | const ICLTensor * | input1, |
const ICLTensor * | input2, | ||
ICLTensor * | output, | ||
PhaseType | phase_type = PhaseType::SIGNED |
||
) |
Initialise the kernel's inputs, output.
[in] | input1 | First tensor input. Data types supported: S16. |
[in] | input2 | Second tensor input. Data types supported: S16. |
[out] | output | Output tensor. Data types supported: U8. |
[in] | phase_type | (Optional) Phase calculation type. Default: SIGNED. |
Definition at line 32 of file CLPhase.cpp.
References CLKernelLibrary::get().
void configure | ( | const CLCompileContext & | compile_context, |
const ICLTensor * | input1, | ||
const ICLTensor * | input2, | ||
ICLTensor * | output, | ||
PhaseType | phase_type = PhaseType::SIGNED |
||
) |
Initialise the kernel's inputs, output.
[in] | compile_context | The compile context to be used. |
[in] | input1 | First tensor input. Data types supported: S16. |
[in] | input2 | Second tensor input. Data types supported: S16. |
[out] | output | Output tensor. Data types supported: U8. |
[in] | phase_type | (Optional) Phase calculation type. Default: SIGNED. |
Definition at line 37 of file CLPhase.cpp.
References arm_compute::L1NORM.