ONE - On-device Neural Engine
|
Class to build tensor data. More...
#include <TFLNodes.h>
Public Member Functions | |
TFLConst ()=default | |
template<loco::DataType DT> | |
uint32_t | size (void) const |
template<loco::DataType DT> | |
void | size (uint32_t size) |
template<loco::DataType DT> | |
const loco::DataTypeImpl< DT >::Type & | at (uint32_t n) const |
template<loco::DataType DT> | |
loco::DataTypeImpl< DT >::Type & | at (uint32_t n) |
Public Member Functions inherited from locoex::FixedArityNode< 0, TFLNodeImpl< TFLOpcode::CONST > > | |
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 locoex::TFLNodeImpl< TFLOpcode::CONST > | |
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::Dialect * | dialect (void) const final |
Return "Dialect" identifier that this node belongs to. | |
template<typename T > | |
T | accept (TFLNodeVisitorBase< T > *) const |
template<typename T > | |
T | accept (TFLNodeMutableVisitorBase< T > *) |
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 locoex::FixedArityNode< 0, TFLNodeImpl< TFLOpcode::CONST > > | |
loco::Use * | at (unsigned n) const |
Class to build tensor data.
Definition at line 195 of file TFLNodes.h.
|
default |
loco::DataTypeImpl< DT >::Type & locoex::TFLConst::at | ( | uint32_t | n | ) |
Definition at line 49 of file TFLNodes.cpp.
const loco::DataTypeImpl< DT >::Type & locoex::TFLConst::at | ( | uint32_t | n | ) | const |
Definition at line 42 of file TFLNodes.cpp.
Referenced by exo::TransposedConv2DConverter::convert().
void locoex::TFLConst::size | ( | uint32_t | size | ) |
Definition at line 35 of file TFLNodes.cpp.
uint32_t locoex::TFLConst::size | ( | void | ) | const |
Definition at line 28 of file TFLNodes.cpp.
Referenced by locoex::set_new_shape().