Overview
````````
-Model IR consists of 4 main parts:
+Model IR consists of 3 main parts:
* Graph - represents the computation graph
-* Node - container for single computational operation in computation graph
-* Operation description - represents a single operation
+* Operation - represents single operation
* Visitor - declares an interface used for graph traversal
Graph
`````
Graph contains information about graph input/output nodes and list of all nodes in graph.
-Responsible for allocating nodes and keeps all allocated node references.
+Responsible for allocating operations and keeps all allocated operation references.
`Graph` class takes care of graph traversal considering all node input/output dependencies.
-Node
-````
-Each node contains:
-
-- Node id ( used to uniquely address node in computation graph )
-- Node name( set by importer, used to distinguish inputs/outputs )
-- Operation description - reference to OpDescription subclass
-- List of inputs( each represented by node reference and output index from that node )
-- List of outputs( List of nodes which take any resulting data from this node )
-
-Operation Description
-`````````````````````
-All operations in computation graph are represented by subclasses of `OpDescription` class.
-
-Every Operation's description contains:
-
-- Number of inputs/outputs operation takes
-- Shapes of input/output tensors ( initialised in Importer/ShapeInference )
-- Any information specific to operation( i.e. convolution kernel )
+Operation
+`````````
+Each operation contains:
+
+- Operation id (used to uniquely identify operation in computation graph for debugging purposes)
+- Operation name (set by importer, used to distinguish inputs/outputs and for debugging purposes)
+- Number of inputs and outputs
+- List of inputs (each represented by operation reference and output index from that node)
+- List of outputs (list of operations which take any resulting data from this operation)
+- Shapes of output tensors
+- Any information specific to operation (i.e. convolution kernel)
Visitor
```````