ONE - On-device Neural Engine
Loading...
Searching...
No Matches
onert_micro::execute::pal::ReduceProductFn< 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(1)
 

Detailed Description

template<typename T>
struct onert_micro::execute::pal::ReduceProductFn< T >

Definition at line 63 of file PALReduceCommon.h.

Member Function Documentation

◆ operator()()

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

Definition at line 67 of file PALReduceCommon.h.

68 {
69 return in * current;
70 }

Field Documentation

◆ InitValue

template<typename T >
constexpr T onert_micro::execute::pal::ReduceProductFn< T >::InitValue = T(1)
staticconstexpr

Definition at line 65 of file PALReduceCommon.h.


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