ArmNN
 24.02
AddDebugImpl Class Reference

#include <AddDebug.hpp>

Public Member Functions

void Run (Graph &graph, Layer &layer) const
 

Protected Member Functions

 AddDebugImpl ()=default
 
 ~AddDebugImpl ()=default
 

Detailed Description

Definition at line 15 of file AddDebug.hpp.

Constructor & Destructor Documentation

◆ AddDebugImpl()

AddDebugImpl ( )
protecteddefault

◆ ~AddDebugImpl()

~AddDebugImpl ( )
protecteddefault

Member Function Documentation

◆ Run()

void Run ( Graph graph,
Layer layer 
) const
inline

Definition at line 19 of file AddDebug.hpp.

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  }

References armnn::Debug, Layer::GetType(), armnn::InsertDebugLayerAfter(), and armnn::Output.


The documentation for this class was generated from the following file:
armnn::LayerType::Debug
@ Debug
armnn::InsertDebugLayerAfter
std::vector< DebugLayer * > InsertDebugLayerAfter(Graph &graph, Layer &layer, bool toFile)
Definition: NetworkUtils.cpp:112
armnn::LayerType::Output
@ Output