|
ONE - On-device Neural Engine
|
#include <PartitionIR.h>
Public Member Functions | |
| std::unique_ptr< PGroups > | make_copy (void) const |
| return a copy of PGroups | |
| GroupKey | group_of (luci::CircleNode *node) const |
| return group key of node, empty string if not found | |
| const PGroup * | pgroup_of (luci::CircleNode *node) const |
| return holding pgroup of node, nullptr if not found | |
Data Fields | |
| std::vector< std::unique_ptr< PGroup > > | pgroups |
| std::map< const luci::CircleNode *, GroupKey > | node2group |
| std::map< uint32_t, PGroup * > | id2pgroup |
| GroupKey | default_group |
Definition at line 61 of file PartitionIR.h.
| GroupKey luci::PGroups::group_of | ( | luci::CircleNode * | node | ) | const |
return group key of node, empty string if not found
Definition at line 70 of file PartitionIR.cpp.
References INFO, LOGGER, luci::must_cast(), luci::CircleNode::name(), and node2group.
return a copy of PGroups
Definition at line 29 of file PartitionIR.cpp.
References luci::must_cast(), node2group, and pgroups.
| const PGroup * luci::PGroups::pgroup_of | ( | luci::CircleNode * | node | ) | const |
return holding pgroup of node, nullptr if not found
Definition at line 85 of file PartitionIR.cpp.
References luci::must_cast(), and pgroups.
Referenced by luci::remove_unused_inputoutputs().
| GroupKey luci::PGroups::default_group |
Definition at line 72 of file PartitionIR.h.
Referenced by luci::produce_pgroups().
Definition at line 69 of file PartitionIR.h.
| std::map<const luci::CircleNode *, GroupKey> luci::PGroups::node2group |
Definition at line 66 of file PartitionIR.h.
Referenced by luci::dump(), group_of(), make_copy(), and luci::produce_pgroups().
| std::vector<std::unique_ptr<PGroup> > luci::PGroups::pgroups |
Definition at line 63 of file PartitionIR.h.
Referenced by luci::dump(), make_copy(), luci::merge_pgroups(), pgroup_of(), luci::produce_pmodules(), and luci::remove_unused_inputoutputs().