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

DEPTHWISE_CONV_2D in TensorFlow Lite. More...

#include <TFLNodes.h>

Collaboration diagram for locoex::TFLDepthwiseConv2D:

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)
 
int32_t depthMultiplier (void) const
 
void depthMultiplier (int32_t arg)
 
- Public Member Functions inherited from locoex::FixedArityNode< 3, TFLNodeImpl< TFLOpcode::DEPTHWISE_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::DEPTHWISE_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::DEPTHWISE_CONV_2D > >
loco::Useat (unsigned n) const
 

Detailed Description

DEPTHWISE_CONV_2D in TensorFlow Lite.

Definition at line 244 of file TFLNodes.h.

Member Function Documentation

◆ bias() [1/2]

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

get the input for bias.

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

Definition at line 257 of file TFLNodes.h.

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

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

◆ bias() [2/2]

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

◆ depthMultiplier() [1/2]

void locoex::TFLDepthwiseConv2D::depthMultiplier ( int32_t  arg)
inline

Definition at line 267 of file TFLNodes.h.

267{ _depth_multiplier = arg; }
loco::Node * arg(uint32_t n) const final
Access N-th argument node.
Definition NodeMixins.h:46

References locoex::FixedArityNode< 3, TFLNodeImpl< TFLOpcode::DEPTHWISE_CONV_2D > >::arg().

◆ depthMultiplier() [2/2]

int32_t locoex::TFLDepthwiseConv2D::depthMultiplier ( void  ) const
inline

Definition at line 266 of file TFLNodes.h.

266{ return _depth_multiplier; }

◆ filter() [1/2]

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

◆ filter() [2/2]

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

◆ input() [1/2]

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

◆ input() [2/2]

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

◆ padding() [1/2]

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

Definition at line 260 of file TFLNodes.h.

260{ return _padding; }

◆ padding() [2/2]

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

Definition at line 261 of file TFLNodes.h.

261{ _padding = padding; }
Padding padding() const
Definition TFLNodes.h:260

References padding().

Referenced by padding().

◆ stride() [1/2]

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

Definition at line 264 of file TFLNodes.h.

264{ return &_stride; }

◆ stride() [2/2]

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

Definition at line 263 of file TFLNodes.h.

263{ return &_stride; }

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


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