ONE - On-device Neural Engine
|
Make a value visible to user. More...
#include <TFPush.h>
Public Member Functions | |
TFPush ()=default | |
loco::Node * | from (void) const |
void | from (loco::Node *node) |
void | index (const loco::GraphOutputIndex &index) |
loco::GraphOutputIndex | index (void) const |
Get associated output index. | |
bool | indexed (void) const |
Check whether index is initialized. | |
void | index_reset (void) |
Reset output index. | |
Public Member Functions inherited from moco::FixedArityNode< 1, TFNodeImpl< TFOpcode::TFPush > > | |
FixedArityNode () | |
virtual | ~FixedArityNode ()=default |
unsigned | arity (void) const final |
loco::Node * | arg (uint32_t n) const final |
void | drop (void) final |
Public Member Functions inherited from moco::TFNodeImpl< TFOpcode::TFPush > | |
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::Dialect * | dialect (void) const final |
Return "Dialect" identifier that this node belongs to. | |
template<typename T > | |
T | accept (TFNodeVisitorBase< T > *) const |
template<typename T > | |
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 () |
Graph * | graph (void) |
const Graph * | graph (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< 1, TFNodeImpl< TFOpcode::TFPush > > | |
loco::Use * | at (unsigned n) const |
Make a value visible to user.
|
default |
|
inline |
Definition at line 48 of file TFPush.h.
References moco::FixedArityNode< 1, TFNodeImpl< TFOpcode::TFPush > >::at(), and loco::Use::node().
|
inline |
Definition at line 47 of file TFPush.h.
References moco::FixedArityNode< 1, TFNodeImpl< TFOpcode::TFPush > >::at(), and loco::Use::node().
void moco::TFPush::index | ( | const loco::GraphOutputIndex & | index | ) |
TFPush
Definition at line 108 of file TFNode.cpp.
References index().
loco::GraphOutputIndex moco::TFPush::index | ( | void | ) | const |
Get associated output index.
The behavior of this method is undefined when "index" is not set before.
NOTE This method intentionally returns "GraphOutputIndex" instead of "const GraphOutputIndex &" not to expose the internal implementation details.
Definition at line 114 of file TFNode.cpp.
Referenced by index().
|
inline |
|
inline |