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

CONV_2D in TensorFlow Lite. More...

#include <TFLNodes.h>

Collaboration diagram for locoex::TFLConv2D:

Public Member Functions

loco::Nodeinput (void) const
 
void input (loco::Node *node)
 
loco::Nodefilter (void) const
 
void filter (loco::Node *node)
 
loco::Nodebias (void) const override
 
void bias (loco::Node *node) override
 get the input for bias.
 
Padding padding () const
 
void padding (Padding padding)
 
const Stridestride (void) const
 
Stridestride (void)
 
- Public Member Functions inherited from locoex::FixedArityNode< 3, TFLNodeImpl< TFLOpcode::CONV_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::CONV_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)
 
- Public Member Functions inherited from locoex::TFLNodeMixin< TFLNodeTrait::Bias >
 TFLNodeMixin ()=default
 

Additional Inherited Members

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

Detailed Description

CONV_2D in TensorFlow Lite.

Definition at line 215 of file TFLNodes.h.

Member Function Documentation

◆ bias() [1/2]

void locoex::TFLConv2D::bias ( loco::Node node)
inlineoverridevirtual

get the input for bias.

Implements locoex::TFLNodeMixin< TFLNodeTrait::Bias >.

Definition at line 227 of file TFLNodes.h.

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

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

◆ bias() [2/2]

loco::Node * locoex::TFLConv2D::bias ( void  ) const
inlineoverridevirtual

◆ filter() [1/2]

void locoex::TFLConv2D::filter ( loco::Node node)
inline

Definition at line 224 of file TFLNodes.h.

224{ at(1)->node(node); }

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

◆ filter() [2/2]

loco::Node * locoex::TFLConv2D::filter ( void  ) const
inline

Definition at line 223 of file TFLNodes.h.

223{ return at(1)->node(); }

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

◆ input() [1/2]

void locoex::TFLConv2D::input ( loco::Node node)
inline

Definition at line 221 of file TFLNodes.h.

221{ at(0)->node(node); }

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

◆ input() [2/2]

loco::Node * locoex::TFLConv2D::input ( void  ) const
inline

Definition at line 220 of file TFLNodes.h.

220{ return at(0)->node(); }

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

◆ padding() [1/2]

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

Definition at line 230 of file TFLNodes.h.

230{ return _padding; }

◆ padding() [2/2]

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

Definition at line 231 of file TFLNodes.h.

231{ _padding = padding; }
Padding padding() const
Definition TFLNodes.h:230

References padding().

Referenced by padding().

◆ stride() [1/2]

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

Definition at line 234 of file TFLNodes.h.

234{ return &_stride; }

◆ stride() [2/2]

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

Definition at line 233 of file TFLNodes.h.

233{ return &_stride; }

Referenced by exo::Conv2DConverter::convert().


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