Adding a New DNN Simplifier#
TODO. Sorry, this page is still in development. An example simplification can be seen here.
In general a DNN simplification will subclass the Simplifier
base class.
This class implements a visitor pattern for an operation graph.
In general, a simplifier implementation will check if an operation sub-graph matches
some pattern, and, if so, will replace it with a semantically equivalent sub-graph.