17template<armnn::DataType DataType>
23template<armnn::DataType DataType>
37 m_Callback(m_Data.m_Guid, m_Data.m_SlotIndex, inputs[0]);
41 Debug(inputInfo, inputData, m_Data.m_Guid, m_Data.m_LayerName, m_Data.m_SlotIndex, m_Data.m_LayerOutputToFile);
44 std::memcpy(outputData, inputData, inputInfo.
GetNumElements()*
sizeof(T));
47template<armnn::DataType DataType>
#define ARMNN_SCOPED_PROFILING_EVENT_REF_NAME_GUID(label)
Creates a profiling event that uses GetGuid() and GetName() from the calling class.
DebugQueueDescriptor m_Data
void RegisterDebugCallback(const DebugCallbackFunction &func) override
void Execute() const override
unsigned int GetNumElements() const
Copyright (c) 2021 ARM Limited and Contributors.
typename ResolveTypeImpl< DT >::Type ResolveType
std::function< void(LayerGuid guid, unsigned int slotIndex, ITensorHandle *tensorHandle)> DebugCallbackFunction
Define the type of callback for the Debug layer to call.
const DataType * GetInputTensorData(unsigned int idx, const PayloadType &data)
DataType * GetOutputTensorData(unsigned int idx, const PayloadType &data)
armnn::TensorInfo GetTensorInfo(unsigned int numberOfBatches, unsigned int numberOfChannels, unsigned int height, unsigned int width, const armnn::DataLayout dataLayout, const armnn::DataType dataType)