SoftmaxFusion transformation replaces following graph: More...
#include <softmax_fusion.hpp>
Data Fields | |
| NGRAPH_RTTI_DECLARATION | |
SoftmaxFusion transformation replaces following graph:
+---------------+
│ │
│ input │
│ │
+---------------+
│ │
│ v
│ +-----------+
│ │ │
│ │ ReduceMax │
│ │ │
│ +-----------+
│ │
│ │
v v
+---------------+
│ │
│ Sub │
│ │
+---------------+
|
|
v
+---------------+
│ │
│ Exp │
│ │
+---------------+
│ │
│ v
│ +-----------+
│ │ │
│ │ ReduceSum │
│ │ │
│ +-----------+
│ │
│ │
v v
+-------------+
| │
| Div │
│ │
+-------------+
to a single Softmax node