ONE - On-device Neural Engine
Loading...
Searching...
No Matches
locoex::TFLAveragePool2D Class Referencefinal

AVERAGE_POOL_2D in TensorFlow Lite. More...

#include <TFLNodes.h>

Collaboration diagram for locoex::TFLAveragePool2D:

Public Member Functions

 TFLAveragePool2D ()
 
loco::Nodevalue (void) const
 
void value (loco::Node *node)
 
Padding padding () const
 
void padding (Padding padding)
 
const Filterfilter (void) const
 
Filterfilter (void)
 
const Stridestride (void) const
 
Stridestride (void)
 
- Public Member Functions inherited from locoex::FixedArityNode< 1, TFLNodeImpl< TFLOpcode::AVERAGE_POOL_2D > >
 FixedArityNode ()
 
virtual ~FixedArityNode ()=default
 
unsigned arity (void) const final
 
loco::Nodearg (uint32_t n) const final
 
void drop (void) final
 
- Public Member Functions inherited from locoex::TFLNodeImpl< TFLOpcode::AVERAGE_POOL_2D >
virtual ~TFLNodeImpl ()=default
 
uint32_t opnum (void) const final
 
TFLOpcode opcode (void) const final
 
- Public Member Functions inherited from locoex::TFLNode
virtual ~TFLNode ()=default
 
const loco::Dialectdialect (void) const final
 Return "Dialect" identifier that this node belongs to.
 
template<typename T >
accept (TFLNodeVisitorBase< T > *) const
 
template<typename T >
accept (TFLNodeMutableVisitorBase< T > *)
 
- Public Member Functions inherited from loco::Node
 Node ()=default
 
 Node (const Node &)=delete
 
 Node (Node &&)=delete
 
virtual ~Node ()
 
Graphgraph (void)
 
const Graphgraph (void) const
 
- Public Member Functions inherited from loco::AnnotatedItem< NodeAnnotation >
 AnnotatedItem ()=default
 
virtual ~AnnotatedItem ()=default
 
const T * annot (void) const
 Retrieve a stored annotation of type T.
 
void annot (std::unique_ptr< T > &&p)
 Attach or remove a new annotation of type T.
 
- Public Member Functions inherited from locoex::TFLNodeMixin< TFLNodeTrait::FusedActFunc >
 TFLNodeMixin ()=default
 
FusedActFunc fusedActivationFunction () const
 
void fusedActivationFunction (FusedActFunc fused_act_fun)
 

Additional Inherited Members

- Protected Member Functions inherited from locoex::FixedArityNode< 1, TFLNodeImpl< TFLOpcode::AVERAGE_POOL_2D > >
loco::Useat (unsigned n) const
 

Detailed Description

AVERAGE_POOL_2D in TensorFlow Lite.

Definition at line 128 of file TFLNodes.h.

Constructor & Destructor Documentation

◆ TFLAveragePool2D()

locoex::TFLAveragePool2D::TFLAveragePool2D ( )
inline

Definition at line 132 of file TFLNodes.h.

132 : _padding(Padding::UNDEFINED)
133 { /* empty */
134 }

Member Function Documentation

◆ filter() [1/2]

Filter * locoex::TFLAveragePool2D::filter ( void  )
inline

Definition at line 144 of file TFLNodes.h.

144{ return &_filter; }

◆ filter() [2/2]

const Filter * locoex::TFLAveragePool2D::filter ( void  ) const
inline

Definition at line 143 of file TFLNodes.h.

143{ return &_filter; }

◆ padding() [1/2]

Padding locoex::TFLAveragePool2D::padding ( ) const
inline

Definition at line 140 of file TFLNodes.h.

140{ return _padding; }

◆ padding() [2/2]

void locoex::TFLAveragePool2D::padding ( Padding  padding)
inline

Definition at line 141 of file TFLNodes.h.

141{ _padding = padding; }
Padding padding() const
Definition TFLNodes.h:140

References padding().

Referenced by padding().

◆ stride() [1/2]

Stride * locoex::TFLAveragePool2D::stride ( void  )
inline

Definition at line 147 of file TFLNodes.h.

147{ return &_stride; }

◆ stride() [2/2]

const Stride * locoex::TFLAveragePool2D::stride ( void  ) const
inline

Definition at line 146 of file TFLNodes.h.

146{ return &_stride; }

◆ value() [1/2]

void locoex::TFLAveragePool2D::value ( loco::Node node)
inline

◆ value() [2/2]

loco::Node * locoex::TFLAveragePool2D::value ( void  ) const
inline

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