ONE - On-device Neural Engine
|
#include <PassTestGraphs.h>
Protected Member Functions | |
ConstantFoldingAddTestGraph (std::vector< uint32_t > input_shape, loco::DataType input_dtype) | |
void | init () override |
luci::CircleConst * | getFoldedPattern () override |
Protected Attributes | |
luci::CircleAdd * | _add = nullptr |
Protected Attributes inherited from luci::ConstantFoldingTestGraph | |
loco::Graph | _g |
luci::CircleInput * | _input = nullptr |
luci::CircleOutput * | _output = nullptr |
Additional Inherited Members | |
Public Member Functions inherited from luci::ConstantFoldingTestGraph | |
ConstantFoldingTestGraph (std::vector< uint32_t > input_shape, loco::DataType input_dtype) | |
virtual | ~ConstantFoldingTestGraph ()=default |
virtual loco::Node * | createFoldedPattern ()=0 |
loco::Graph * | graph () |
ConstantFoldingTestAddGraph is ConstantFoldingTestGraph whose Connector is Add.
Definition at line 110 of file PassTestGraphs.h.
|
inlineprotected |
Definition at line 113 of file PassTestGraphs.h.
References _add, luci::ConstantFoldingTestGraph::_g, luci::ConstantFoldingTestGraph::_input, luci::ConstantFoldingTestGraph::_output, loco::NodePool::create(), luci::CircleOutput::from(), luci::CircleNode::name(), loco::Graph::nodes(), and luci::CircleAdd::x().
|
inlineoverrideprotectedvirtual |
Implements luci::ConstantFoldingTestGraph.
Definition at line 134 of file PassTestGraphs.h.
References _add, and luci::CircleAdd::y().
|
inlineoverrideprotectedvirtual |
Implements luci::ConstantFoldingTestGraph.
Definition at line 131 of file PassTestGraphs.h.
References _add, luci::ConstantFoldingTestGraph::createFoldedPattern(), and luci::CircleAdd::y().
|
protected |
Definition at line 140 of file PassTestGraphs.h.
Referenced by ConstantFoldingAddTestGraph(), getFoldedPattern(), and init().