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

#include <TFLNodes.h>

Collaboration diagram for locoex::TFLMean:

Public Member Functions

loco::Nodeinput (void) const
 
void input (loco::Node *node)
 
loco::Nodereduction_indices (void) const
 
void reduction_indices (loco::Node *node)
 
bool keep_dims (void) const
 
void keep_dims (bool keep_dims)
 
- Public Member Functions inherited from locoex::FixedArityNode< 2, TFLNodeImpl< TFLOpcode::MEAN > >
 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::MEAN >
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.
 

Additional Inherited Members

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

Detailed Description

Definition at line 353 of file TFLNodes.h.

Member Function Documentation

◆ input() [1/2]

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

Definition at line 357 of file TFLNodes.h.

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

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

◆ input() [2/2]

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

Definition at line 356 of file TFLNodes.h.

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

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

◆ keep_dims() [1/2]

void locoex::TFLMean::keep_dims ( bool  keep_dims)
inline

Definition at line 364 of file TFLNodes.h.

364{ _keep_dims = keep_dims; }
bool keep_dims(void) const
Definition TFLNodes.h:363

References keep_dims().

Referenced by keep_dims().

◆ keep_dims() [2/2]

bool locoex::TFLMean::keep_dims ( void  ) const
inline

Definition at line 363 of file TFLNodes.h.

363{ return _keep_dims; }

◆ reduction_indices() [1/2]

void locoex::TFLMean::reduction_indices ( loco::Node node)
inline

Definition at line 360 of file TFLNodes.h.

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

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

◆ reduction_indices() [2/2]

loco::Node * locoex::TFLMean::reduction_indices ( void  ) const
inline

Definition at line 359 of file TFLNodes.h.

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

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


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