ONE - On-device Neural Engine
Loading...
Searching...
No Matches
luci::CircleTransposeConv Class Referencefinal

TRANSPOSE_CONV in Circle. More...

#include <CircleTransposeConv.h>

Collaboration diagram for luci::CircleTransposeConv:

Public Member Functions

loco::NodeinputSizes (void) const
 
void inputSizes (Node *node)
 
loco::Nodefilter (void) const
 
void filter (Node *node)
 
loco::NodeoutBackprop (void) const
 
void outBackprop (Node *node)
 
loco::Nodebias (void) const override
 
void bias (loco::Node *node) override
 get the input for bias.
 
const Paddingpadding (void) const
 
void padding (const Padding &padding)
 
const Stridestride (void) const
 
Stridestride (void)
 
- Public Member Functions inherited from luci::FixedArityNode< 4, CircleNodeImpl< CircleOpcode::TRANSPOSE_CONV > >
 FixedArityNode ()
 
virtual ~FixedArityNode ()=default
 
uint32_t arity (void) const final
 
loco::Nodearg (uint32_t n) const final
 
void drop (void) final
 
- Public Member Functions inherited from luci::CircleNodeImpl< CircleOpcode::TRANSPOSE_CONV >
virtual ~CircleNodeImpl ()=default
 
uint32_t opnum (void) const final
 
CircleOpcode opcode (void) const final
 
- Public Member Functions inherited from luci::CircleNode
virtual ~CircleNode ()=default
 
const loco::Dialectdialect (void) const final
 Return "Dialect" identifier that this node belongs to.
 
template<typename T >
accept (CircleNodeVisitorBase< T > *) const
 
template<typename T >
accept (CircleNodeMutableVisitorBase< T > *)
 
NodeName name (void) const
 
void name (const NodeName &name)
 
CircleQuantParamquantparam (void) const
 
void quantparam (std::unique_ptr< CircleQuantParam > &&quantparam)
 
SparsityParamsparsityparam (void) const
 
void sparsityparam (std::unique_ptr< SparsityParam > &&sparsityparam)
 
ShapeStatus shape_status (void) const
 
void shape_status (ShapeStatus ss)
 
int32_t op_version (void) const
 
void op_version (int32_t op_version)
 
- 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 luci::CircleNodeMixin< CircleNodeTrait::FusedActFunc >
 CircleNodeMixin ()=default
 
FusedActFunc fusedActivationFunction () const
 
void fusedActivationFunction (FusedActFunc fused_act_fun)
 
- Public Member Functions inherited from luci::CircleNodeMixin< CircleNodeTrait::Bias >
 CircleNodeMixin ()=default
 

Additional Inherited Members

- Protected Member Functions inherited from luci::FixedArityNode< 4, CircleNodeImpl< CircleOpcode::TRANSPOSE_CONV > >
loco::Useat (uint32_t n) const
 

Detailed Description

TRANSPOSE_CONV in Circle.

Note
Argument node function names are from TensorFlow. So referring 'in' and 'out' acutally means 'out' and 'in' of the this node.

Definition at line 36 of file CircleTransposeConv.h.

Member Function Documentation

◆ bias() [1/2]

void luci::CircleTransposeConv::bias ( loco::Node node)
inlineoverridevirtual

◆ bias() [2/2]

loco::Node * luci::CircleTransposeConv::bias ( void  ) const
inlineoverridevirtual
Note
"bias" is optional. When this node has no conceptual bias, "bias()" expected to be luci::CircleOutputExclude type.

<Comment on tflite TRANSPOSE_CONV>

(Circle node has no dependency on tflite, but just for information on converting) Before TF v2.3.0, tflite TRANSPOSE_CONV didn't support fused bias as argument. From TF v2.3.0, tflite TRANSPOSE_CONV supports bias as optional 4th argument.

Ref: https://github.com/tensorflow/tensorflow/commit/43b8f6e710

Implements luci::CircleNodeMixin< CircleNodeTrait::Bias >.

Definition at line 63 of file CircleTransposeConv.h.

63{ return at(3)->node(); }

References luci::FixedArityNode< 4, CircleNodeImpl< CircleOpcode::TRANSPOSE_CONV > >::at(), and loco::Use::node().

◆ filter() [1/2]

void luci::CircleTransposeConv::filter ( Node node)
inline

◆ filter() [2/2]

loco::Node * luci::CircleTransposeConv::filter ( void  ) const
inline

◆ inputSizes() [1/2]

void luci::CircleTransposeConv::inputSizes ( Node node)
inline

◆ inputSizes() [2/2]

loco::Node * luci::CircleTransposeConv::inputSizes ( void  ) const
inline

◆ outBackprop() [1/2]

void luci::CircleTransposeConv::outBackprop ( Node node)
inline

◆ outBackprop() [2/2]

loco::Node * luci::CircleTransposeConv::outBackprop ( void  ) const
inline

◆ padding() [1/2]

void luci::CircleTransposeConv::padding ( const Padding padding)
inline

Definition at line 68 of file CircleTransposeConv.h.

68{ _padding = padding; }
const Padding & padding(void) const

References padding().

Referenced by padding().

◆ padding() [2/2]

const Padding & luci::CircleTransposeConv::padding ( void  ) const
inline

◆ stride() [1/2]

Stride * luci::CircleTransposeConv::stride ( void  )
inline

Definition at line 71 of file CircleTransposeConv.h.

71{ return &_stride; }

◆ stride() [2/2]

const Stride * luci::CircleTransposeConv::stride ( void  ) const
inline

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