ARM Compute Library
17.04
|
Template interface for the kernel to compute magnitude and phase. More...
#include <NEMagnitudePhaseKernel.h>
Public Member Functions | |
NEMagnitudePhaseKernel () | |
Default constructor. More... | |
~NEMagnitudePhaseKernel ()=default | |
Destructor. More... | |
NEMagnitudePhaseKernel (const NEMagnitudePhaseKernel &)=delete | |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
NEMagnitudePhaseKernel (NEMagnitudePhaseKernel &&)=default | |
Default move constructor. More... | |
NEMagnitudePhaseKernel & | operator= (const NEMagnitudePhaseKernel &)=delete |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
NEMagnitudePhaseKernel & | operator= (NEMagnitudePhaseKernel &&)=default |
Default move assignment operator. More... | |
void | configure (const ITensor *gx, const ITensor *gy, ITensor *magnitude, ITensor *phase) |
Initialise the kernel's input, output. More... | |
void | run (const Window &window) override |
Execute the kernel on the passed window. More... | |
Public Member Functions inherited from ICPPKernel | |
virtual | ~ICPPKernel ()=default |
Default destructor. More... | |
Public Member Functions inherited from IKernel | |
IKernel () | |
Constructor. More... | |
virtual | ~IKernel ()=default |
Destructor. More... | |
virtual bool | is_parallelisable () const |
Indicates whether or not the kernel is parallelisable. More... | |
virtual BorderSize | border_size () const |
The size of the border for that kernel. More... | |
const Window & | window () const |
The maximum window the kernel can be executed on. More... | |
Template interface for the kernel to compute magnitude and phase.
Definition at line 36 of file NEMagnitudePhaseKernel.h.
Default constructor.
|
default |
Destructor.
|
delete |
Prevent instances of this class from being copied (As this class contains pointers)
|
default |
Default move constructor.
Initialise the kernel's input, output.
[in] | gx | Gradient X tensor. Data type supported: S16. |
[in] | gy | Gradient Y tensor. Data type supported: S16. |
[out] | magnitude | (Optional) The output tensor - Magnitude. Data type supported: S16. |
[out] | phase | (Optional) The output tensor - Phase. Data type supported: U8. |
|
delete |
Prevent instances of this class from being copied (As this class contains pointers)
|
default |
Default move assignment operator.
|
overridevirtual |
Execute the kernel on the passed window.
[in] | window | Region on which to execute the kernel. (Must be a region of the window returned by window()) |
Implements ICPPKernel.