ONE - On-device Neural Engine
|
#include <iostream>
#include <crew/PConfigJson.h>
#include <luci/CircleNodeSummaryBuilders.h>
#include <luci/IR/CircleNodes.lst>
Go to the source code of this file.
Data Structures | |
struct | is_VariadicArity< T > |
struct | is_VariadicArity< CircleConcatenation > |
struct | is_VariadicArity< CircleCustom > |
struct | is_VariadicArity< CirclePack > |
struct | is_VariadicArity< CircleAddN > |
struct | is_VariadicArity< CircleIf > |
struct | is_VariadicArity< CircleWhile > |
struct | is_VariadicOut< T > |
struct | is_VariadicOut< CircleCustom > |
struct | is_VariadicOut< CircleIf > |
struct | is_VariadicOut< CircleWhile > |
class | MockSymbolTable |
Macros | |
#define | CIRCLE_NODE(OPCODE, CLASS) |
#define | CIRCLE_NODE(OPCODE, CLASS) |
#define | CIRCLE_NODE(OP, CIRCLE_OP) |
#define | CIRCLE_VNODE(_1, _2) |
Functions | |
template<typename CircleOp , typename std::enable_if_t< is_VariadicArity< CircleOp >::value &&is_VariadicOut< CircleOp >::value > * = nullptr> | |
auto | CircleNodeCreator () |
void | add_fused_actfn_option (CircleNode *node) |
void | add_padding_option (CircleNode *node) |
void | add_mode_option (CircleNode *node) |
void | fill_dummies_for_summary_creation (CircleNode *node) |
locop::NodeSummary | create_circle_node_summary (CircleNode *node) |
void | get_input_names_from_summary (CircleNode *node, locop::NodeSummary &s, crew::JsonExport &json_export) |
int | main (void) |
#define CIRCLE_NODE | ( | OP, | |
CIRCLE_OP | |||
) |
#define CIRCLE_NODE | ( | OPCODE, | |
CLASS | |||
) |
#define CIRCLE_NODE | ( | OPCODE, | |
CLASS | |||
) |
#define CIRCLE_VNODE | ( | _1, | |
_2 | |||
) |
void add_fused_actfn_option | ( | CircleNode * | node | ) |
Definition at line 66 of file circle-input-names.cpp.
References luci::RELU.
Referenced by fill_dummies_for_summary_creation().
void add_mode_option | ( | CircleNode * | node | ) |
Definition at line 104 of file circle-input-names.cpp.
References CIRCLE_NODE, and luci::CircleNode::opcode().
Referenced by fill_dummies_for_summary_creation().
void add_padding_option | ( | CircleNode * | node | ) |
Definition at line 77 of file circle-input-names.cpp.
References AVERAGE_POOL_2D, CIRCLE_NODE, CONV_2D, DEPTHWISE_CONV_2D, L2_POOL_2D, MAX_POOL_2D, and luci::CircleNode::opcode().
Referenced by fill_dummies_for_summary_creation().
auto CircleNodeCreator | ( | ) |
Definition at line 43 of file circle-input-names.cpp.
locop::NodeSummary create_circle_node_summary | ( | CircleNode * | node | ) |
Definition at line 142 of file circle-input-names.cpp.
References luci::CircleNodeSummaryBuilder::build().
void fill_dummies_for_summary_creation | ( | CircleNode * | node | ) |
Definition at line 128 of file circle-input-names.cpp.
References add_fused_actfn_option(), add_mode_option(), and add_padding_option().
void get_input_names_from_summary | ( | CircleNode * | node, |
locop::NodeSummary & | s, | ||
crew::JsonExport & | json_export | ||
) |
Definition at line 153 of file circle-input-names.cpp.
References loco::Node::arity(), and crew::JsonExport::key_val().
int main | ( | void | ) |
Definition at line 170 of file circle-input-names.cpp.
References crew::JsonExport::close_brace(), and crew::JsonExport::open_brace().
Referenced by utils::safemain().