ONE - On-device Neural Engine
Loading...
Searching...
No Matches
moco::TFFusedBatchNorm Class Referencefinal

#include <TFFusedBatchNorm.h>

Collaboration diagram for moco::TFFusedBatchNorm:

Public Member Functions

 TFFusedBatchNorm ()=default
 
Nodex (void) const
 
void x (Node *node)
 
Nodescale (void) const
 
void scale (Node *node)
 
Nodeoffset (void) const
 
void offset (Node *node)
 
Nodemean (void) const
 
void mean (Node *node)
 
Nodevariance (void) const
 
void variance (Node *node)
 
float epsilon (void) const
 
void epsilon (float epsilon)
 
- Public Member Functions inherited from moco::FixedArityNode< 5, TFNodeImpl< TFOpcode::FusedBatchNorm > >
 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 moco::TFNodeImpl< TFOpcode::FusedBatchNorm >
virtual ~TFNodeImpl ()=default
 
uint32_t opnum (void) const final
 
TFOpcode opcode (void) const final
 
- Public Member Functions inherited from moco::TFNode
virtual ~TFNode ()=default
 
const loco::Dialectdialect (void) const final
 Return "Dialect" identifier that this node belongs to.
 
template<typename T >
accept (TFNodeVisitorBase< T > *) const
 
template<typename T >
accept (TFNodeMutableVisitorBase< T > *)
 
NodeName name (void) const
 
void name (const NodeName &name)
 
- 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.
 

Additional Inherited Members

- Protected Member Functions inherited from moco::FixedArityNode< 5, TFNodeImpl< TFOpcode::FusedBatchNorm > >
loco::Useat (unsigned n) const
 

Detailed Description

Definition at line 25 of file TFFusedBatchNorm.h.

Constructor & Destructor Documentation

◆ TFFusedBatchNorm()

moco::TFFusedBatchNorm::TFFusedBatchNorm ( )
default

Member Function Documentation

◆ epsilon() [1/2]

void moco::TFFusedBatchNorm::epsilon ( float  epsilon)
inline

Definition at line 47 of file TFFusedBatchNorm.h.

47{ _epsilon = epsilon; }
float epsilon(void) const

References epsilon().

Referenced by epsilon().

◆ epsilon() [2/2]

float moco::TFFusedBatchNorm::epsilon ( void  ) const
inline

Definition at line 46 of file TFFusedBatchNorm.h.

46{ return _epsilon; }

◆ mean() [1/2]

void moco::TFFusedBatchNorm::mean ( Node node)
inline

Definition at line 41 of file TFFusedBatchNorm.h.

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

References moco::FixedArityNode< 5, TFNodeImpl< TFOpcode::FusedBatchNorm > >::at(), and loco::Use::node().

◆ mean() [2/2]

Node * moco::TFFusedBatchNorm::mean ( void  ) const
inline

◆ offset() [1/2]

void moco::TFFusedBatchNorm::offset ( Node node)
inline

◆ offset() [2/2]

Node * moco::TFFusedBatchNorm::offset ( void  ) const
inline

Definition at line 37 of file TFFusedBatchNorm.h.

37{ return at(2)->node(); } // beta

References moco::FixedArityNode< 5, TFNodeImpl< TFOpcode::FusedBatchNorm > >::at(), and loco::Use::node().

◆ scale() [1/2]

void moco::TFFusedBatchNorm::scale ( Node node)
inline

◆ scale() [2/2]

Node * moco::TFFusedBatchNorm::scale ( void  ) const
inline

Definition at line 34 of file TFFusedBatchNorm.h.

34{ return at(1)->node(); } // gamma

References moco::FixedArityNode< 5, TFNodeImpl< TFOpcode::FusedBatchNorm > >::at(), and loco::Use::node().

◆ variance() [1/2]

void moco::TFFusedBatchNorm::variance ( Node node)
inline

◆ variance() [2/2]

Node * moco::TFFusedBatchNorm::variance ( void  ) const
inline

◆ x() [1/2]

void moco::TFFusedBatchNorm::x ( Node node)
inline

◆ x() [2/2]

Node * moco::TFFusedBatchNorm::x ( void  ) const
inline

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