Compute Library
18.05
|
Interface for the depthwise weights reshape kernel. More...
#include <NEDepthwiseWeightsReshapeKernel.h>
Public Member Functions | |
const char * | name () const override |
Name of the kernel. More... | |
NEDepthwiseWeightsReshapeKernel () | |
Default constructor. More... | |
NEDepthwiseWeightsReshapeKernel (const NEDepthwiseWeightsReshapeKernel &)=delete | |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
NEDepthwiseWeightsReshapeKernel & | operator= (const NEDepthwiseWeightsReshapeKernel &)=delete |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
NEDepthwiseWeightsReshapeKernel (NEDepthwiseWeightsReshapeKernel &&)=default | |
Allow instances of this class to be moved. More... | |
NEDepthwiseWeightsReshapeKernel & | operator= (NEDepthwiseWeightsReshapeKernel &&)=default |
Allow instances of this class to be moved. More... | |
void | configure (const ITensor *input, ITensor *output, const ITensor *biases) |
Set the input and output of the kernel. More... | |
void | run (const Window &window, const ThreadInfo &info) 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... | |
Interface for the depthwise weights reshape kernel.
This kernel reshape original weights' low 2D dimensions into a single col and have the second dimension as the original depth size.
Definition at line 37 of file NEDepthwiseWeightsReshapeKernel.h.
Default constructor.
Referenced by NEDepthwiseWeightsReshapeKernel::name().
|
delete |
Prevent instances of this class from being copied (As this class contains pointers)
|
default |
Allow instances of this class to be moved.
Set the input and output of the kernel.
[in] | input | The input tensor to convert. 3 lower dimensions represent a single input [width, height, IFM]. Data type supported: QASYMM8, F32. |
[out] | output | The output tensor. Data type supported: same as input . |
[in] | biases | (Optional) The input biases to add. Shape [IFM]. Data type supported: same as input . |
Referenced by NEDepthwiseWeightsReshapeKernel::name().
|
inlineoverridevirtual |
Name of the kernel.
Implements ICPPKernel.
Definition at line 40 of file NEDepthwiseWeightsReshapeKernel.h.
References NEDepthwiseWeightsReshapeKernel::configure(), arm_compute::test::validation::info(), NEDepthwiseWeightsReshapeKernel::NEDepthwiseWeightsReshapeKernel(), NEDepthwiseWeightsReshapeKernel::operator=(), NEDepthwiseWeightsReshapeKernel::run(), and IKernel::window().
|
delete |
Prevent instances of this class from being copied (As this class contains pointers)
Referenced by NEDepthwiseWeightsReshapeKernel::name().
|
default |
Allow instances of this class to be moved.
|
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()) |
[in] | info | Info about executing thread and CPU. |
Implements ICPPKernel.
Referenced by NEDepthwiseWeightsReshapeKernel::name().