21.02
|
Basic function to run NEAccumulateWeightedKernel. More...
#include <NEAccumulate.h>
Public Member Functions | |
NEAccumulateWeighted ()=default | |
Default constructor. More... | |
NEAccumulateWeighted (const NEAccumulateWeighted &)=delete | |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
NEAccumulateWeighted & | operator= (const NEAccumulateWeighted &)=delete |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
NEAccumulateWeighted (NEAccumulateWeighted &&)=delete | |
Prevent instances of this class from being moved (As this class contains non movable objects) More... | |
NEAccumulateWeighted & | operator= (NEAccumulateWeighted &&)=delete |
Prevent instances of this class from being moved (As this class contains non movable objects) More... | |
~NEAccumulateWeighted () | |
Default destructor. More... | |
void | configure (const ITensor *input, float alpha, ITensor *output, bool use_fp16=false) |
Set the input and accumulation tensors, and the scale value. More... | |
Public Member Functions inherited from INESimpleFunctionNoBorder | |
INESimpleFunctionNoBorder (IRuntimeContext *ctx=nullptr) | |
Constructor. More... | |
INESimpleFunctionNoBorder (const INESimpleFunctionNoBorder &)=delete | |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
INESimpleFunctionNoBorder (INESimpleFunctionNoBorder &&)=default | |
Default move constructor. More... | |
INESimpleFunctionNoBorder & | operator= (const INESimpleFunctionNoBorder &)=delete |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
INESimpleFunctionNoBorder & | operator= (INESimpleFunctionNoBorder &&)=default |
Default move assignment operator. More... | |
~INESimpleFunctionNoBorder () | |
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 run NEAccumulateWeightedKernel.
Definition at line 68 of file NEAccumulate.h.
|
default |
Default constructor.
|
delete |
Prevent instances of this class from being copied (As this class contains pointers)
|
delete |
Prevent instances of this class from being moved (As this class contains non movable objects)
|
default |
Default destructor.
Referenced by NEAccumulate::configure().
Set the input and accumulation tensors, and the scale value.
[in] | input | Source tensor. Data type supported: U8. |
[in] | alpha | The input scalar value with a value input the range of [0, 1.0] |
[in,out] | output | Accumulated tensor. Data type supported: U8. |
[in] | use_fp16 | (Optional) If true the FP16 kernels will be used. If false F32 kernels are used. |
Definition at line 43 of file NEAccumulate.cpp.
References NEAccumulateSquared::~NEAccumulateSquared().
|
delete |
Prevent instances of this class from being copied (As this class contains pointers)
|
delete |
Prevent instances of this class from being moved (As this class contains non movable objects)