ONE - On-device Neural Engine
|
#include <PassTestGraphs.h>
Public Member Functions | |
virtual void | init (const std::initializer_list< test::ShapeU32 > shape_in, const std::initializer_list< test::ShapeU32 > shape_out) |
virtual | ~CommonSubExpressionEliminationTestGraph ()=default |
virtual loco::Node * | createExpression (luci::CircleNode *ifm, const std::string &name)=0 |
CommonSubExpressionEliminationTestGraph is a base class for testing common subexpression elimination pass. It creates Input and Output in the below graph. Child classes must implement Expression.
[Input] / \
[Expression] [Expression] | | [Output 1] [Output 2]
Expression should satisfy the below conditions
Definition at line 159 of file PassTestGraphs.h.
|
virtualdefault |
|
pure virtual |
Referenced by init().
|
inlinevirtual |
Definition at line 163 of file PassTestGraphs.h.
References createExpression().