Compute Library
 21.02
NEAccumulate Class Reference

Basic function to run NEAccumulateKernel. More...

#include <NEAccumulate.h>

Collaboration diagram for NEAccumulate:
[legend]

Public Member Functions

 NEAccumulate ()=default
 Default constructor. More...
 
 NEAccumulate (const NEAccumulate &)=delete
 Prevent instances of this class from being copied (As this class contains pointers) More...
 
NEAccumulateoperator= (const NEAccumulate &)=delete
 Prevent instances of this class from being copied (As this class contains pointers) More...
 
 NEAccumulate (NEAccumulate &&)=delete
 Prevent instances of this class from being moved (As this class contains non movable objects) More...
 
NEAccumulateoperator= (NEAccumulate &&)=delete
 Prevent instances of this class from being moved (As this class contains non movable objects) More...
 
 ~NEAccumulate ()
 Default destructor. More...
 
void configure (const ITensor *input, ITensor *output)
 Set the input and accumulation tensors. 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...
 
INESimpleFunctionNoBorderoperator= (const INESimpleFunctionNoBorder &)=delete
 Prevent instances of this class from being copied (As this class contains pointers) More...
 
INESimpleFunctionNoBorderoperator= (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...
 

Detailed Description

Basic function to run NEAccumulateKernel.

Deprecated:
This function is deprecated and is intended to be removed in 21.05 release

Definition at line 40 of file NEAccumulate.h.

Constructor & Destructor Documentation

◆ NEAccumulate() [1/3]

NEAccumulate ( )
default

Default constructor.

◆ NEAccumulate() [2/3]

NEAccumulate ( const NEAccumulate )
delete

Prevent instances of this class from being copied (As this class contains pointers)

◆ NEAccumulate() [3/3]

NEAccumulate ( NEAccumulate &&  )
delete

Prevent instances of this class from being moved (As this class contains non movable objects)

◆ ~NEAccumulate()

~NEAccumulate ( )
default

Default destructor.

Member Function Documentation

◆ configure()

void configure ( const ITensor input,
ITensor output 
)

Set the input and accumulation tensors.

Parameters
[in]inputSource tensor. Data type supported: U8.
[out]outputDestination tensor. Data type supported: S16.

Definition at line 34 of file NEAccumulate.cpp.

References NEAccumulateWeighted::~NEAccumulateWeighted().

35 {
36  auto k = std::make_unique<NEAccumulateKernel>();
37  k->configure(input, output);
38  _kernel = std::move(k);
39 }

◆ operator=() [1/2]

NEAccumulate& operator= ( const NEAccumulate )
delete

Prevent instances of this class from being copied (As this class contains pointers)

◆ operator=() [2/2]

NEAccumulate& operator= ( NEAccumulate &&  )
delete

Prevent instances of this class from being moved (As this class contains non movable objects)


The documentation for this class was generated from the following files: