ONE - On-device Neural Engine
|
base class of simple graphs used for testing More...
#include <TestHelper.h>
Public Member Functions | |
SimpleGraph () | |
void | init () |
virtual | ~SimpleGraph ()=default |
void | transfer_to (luci::Module *module) |
Data Fields | |
std::unique_ptr< loco::Graph > | _g |
luci::CircleInput * | _input = nullptr |
luci::CircleOutput * | _output = nullptr |
uint32_t | _channel_size = 16 |
uint32_t | _width = 4 |
uint32_t | _height = 4 |
Protected Member Functions | |
virtual loco::Node * | insertGraphBody (loco::Node *input)=0 |
virtual void | initInput (loco::Node *) |
base class of simple graphs used for testing
Definition at line 36 of file TestHelper.h.
|
inline |
Definition at line 39 of file TestHelper.h.
|
virtualdefault |
void mpqsolver::test::models::SimpleGraph::init | ( | ) |
|
inlineprotectedvirtual |
Definition at line 49 of file TestHelper.h.
|
protectedpure virtual |
void mpqsolver::test::models::SimpleGraph::transfer_to | ( | luci::Module * | module | ) |
uint32_t mpqsolver::test::models::SimpleGraph::_channel_size = 16 |
Definition at line 55 of file TestHelper.h.
std::unique_ptr<loco::Graph> mpqsolver::test::models::SimpleGraph::_g |
Definition at line 52 of file TestHelper.h.
uint32_t mpqsolver::test::models::SimpleGraph::_height = 4 |
Definition at line 57 of file TestHelper.h.
luci::CircleInput* mpqsolver::test::models::SimpleGraph::_input = nullptr |
Definition at line 53 of file TestHelper.h.
luci::CircleOutput* mpqsolver::test::models::SimpleGraph::_output = nullptr |
Definition at line 54 of file TestHelper.h.
uint32_t mpqsolver::test::models::SimpleGraph::_width = 4 |
Definition at line 56 of file TestHelper.h.