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

MAX_POOL_2D in TensorFlow Lite. More...

#include <TFLNodes.h>

Collaboration diagram for locoex::TFLMaxPool2D:

Public Member Functions

 TFLMaxPool2D ()
 
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::MAX_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::MAX_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::MAX_POOL_2D > >
loco::Useat (unsigned n) const
 

Detailed Description

MAX_POOL_2D in TensorFlow Lite.

Definition at line 326 of file TFLNodes.h.

Constructor & Destructor Documentation

◆ TFLMaxPool2D()

locoex::TFLMaxPool2D::TFLMaxPool2D ( )
inline

Definition at line 330 of file TFLNodes.h.

330 : _padding(Padding::UNDEFINED)
331 { /* empty */
332 }

Member Function Documentation

◆ filter() [1/2]

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

Definition at line 342 of file TFLNodes.h.

342{ return &_filter; }

◆ filter() [2/2]

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

Definition at line 341 of file TFLNodes.h.

341{ return &_filter; }

◆ padding() [1/2]

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

Definition at line 338 of file TFLNodes.h.

338{ return _padding; }

◆ padding() [2/2]

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

Definition at line 339 of file TFLNodes.h.

339{ _padding = padding; }
Padding padding() const
Definition TFLNodes.h:338

References padding().

Referenced by padding().

◆ stride() [1/2]

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

Definition at line 345 of file TFLNodes.h.

345{ return &_stride; }

◆ stride() [2/2]

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

Definition at line 344 of file TFLNodes.h.

344{ return &_stride; }

◆ value() [1/2]

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

Definition at line 336 of file TFLNodes.h.

336{ at(0)->node(node); }
Node * node(void) const
Definition Use.h:58

References locoex::FixedArityNode< 1, TFLNodeImpl< TFLOpcode::MAX_POOL_2D > >::at(), and loco::Use::node().

◆ value() [2/2]

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

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