| 17 | public: |
| 18 | |
| 19 | void Run(Graph& graph, Layer& layer) const |
| 20 | { |
| 21 | if (layer.GetType() != LayerType::Debug && layer.GetType() != LayerType::Output) |
| 22 | { |
| 23 | // if the inputs/outputs of this layer do not have a debug layer |
| 24 | // insert the debug layer after them |
| 25 | InsertDebugLayerAfter(graph, layer, false); |
| 26 | } |
| 27 | } |
| 28 | |
| 29 | protected: |
| 30 | AddDebugImpl() = default; |
no test coverage detected