ArmNN
 25.11
Loading...
Searching...
No Matches
AddDebugToFileImpl Class Reference

#include <AddDebug.hpp>

Public Member Functions

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

Protected Member Functions

 AddDebugToFileImpl ()=default
 ~AddDebugToFileImpl ()=default

Detailed Description

Definition at line 34 of file AddDebug.hpp.

Constructor & Destructor Documentation

◆ AddDebugToFileImpl()

AddDebugToFileImpl ( )
protecteddefault

◆ ~AddDebugToFileImpl()

~AddDebugToFileImpl ( )
protecteddefault

Member Function Documentation

◆ Run()

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

Definition at line 38 of file AddDebug.hpp.

39 {
40 if (layer.GetType() != LayerType::Debug && layer.GetType() != LayerType::Output)
41 {
42 // if the inputs/outputs of this layer do not have a debug layer
43 // insert the debug layer after them
44 InsertDebugLayerAfter(graph, layer, true);
45 }
46 }
std::vector< DebugLayer * > InsertDebugLayerAfter(Graph &graph, Layer &layer, bool toFile)

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


The documentation for this class was generated from the following file: