ONE - On-device Neural Engine
Loading...
Searching...
No Matches
onert_micro::execute::pal::ReduceSumFn< T > Struct Template Reference

#include <PALReduceCommon.h>

Public Member Functions

operator() (const T current, const T in)
 

Static Public Attributes

static constexpr T InitValue = T(0)
 

Detailed Description

template<class T>
struct onert_micro::execute::pal::ReduceSumFn< T >

Definition at line 39 of file PALReduceCommon.h.

Member Function Documentation

◆ operator()()

template<class T >
T onert_micro::execute::pal::ReduceSumFn< T >::operator() ( const T  current,
const T  in 
)
inline

Definition at line 43 of file PALReduceCommon.h.

44 {
45 return in + current;
46 }

Field Documentation

◆ InitValue

template<class T >
constexpr T onert_micro::execute::pal::ReduceSumFn< T >::InitValue = T(0)
staticconstexpr

Definition at line 41 of file PALReduceCommon.h.


The documentation for this struct was generated from the following file: