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

#include <TFMul.h>

Collaboration diagram for moco::TFMul:

Public Member Functions

 TFMul ()=default
 
Nodex (void) const
 
void x (Node *node)
 
Nodey (void) const
 
void y (Node *node)
 
- Public Member Functions inherited from moco::FixedArityNode< 2, TFNodeImpl< TFOpcode::Mul > >
 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::Mul >
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< 2, TFNodeImpl< TFOpcode::Mul > >
loco::Useat (unsigned n) const
 

Detailed Description

Note
TFMul corresponds to the following GraphDef

Definition at line 41 of file TFMul.h.

Constructor & Destructor Documentation

◆ TFMul()

moco::TFMul::TFMul ( )
default

Member Function Documentation

◆ x() [1/2]

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

Definition at line 48 of file TFMul.h.

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

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

◆ x() [2/2]

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

Definition at line 47 of file TFMul.h.

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

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

◆ y() [1/2]

void moco::TFMul::y ( Node node)
inline

Definition at line 51 of file TFMul.h.

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

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

◆ y() [2/2]

Node * moco::TFMul::y ( void  ) const
inline

Definition at line 50 of file TFMul.h.

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

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


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