27 std::vector<ITensorHandle*> outputs)
const
33 const TensorInfo& anchorsInfo = m_Anchors->GetTensorInfo();
44 float* detectionBoxes =
reinterpret_cast<float*
>(outputs[0]->Map());
45 float* detectionClasses =
reinterpret_cast<float*
>(outputs[1]->Map());
46 float* detectionScores =
reinterpret_cast<float*
>(outputs[2]->Map());
47 float* numDetections =
reinterpret_cast<float*
>(outputs[3]->Map());
50 detectionBoxesInfo, detectionClassesInfo,
52 *boxEncodings, *scores, *anchors, detectionBoxes,
53 detectionClasses, detectionScores, numDetections);
#define ARMNN_SCOPED_PROFILING_EVENT_REF_NAME_GUID(label)
Creates a profiling event that uses GetGuid() and GetName() from the calling class.
DetectionPostProcessQueueDescriptor m_Data
RefBaseWorkload(const DetectionPostProcessQueueDescriptor &descriptor, const WorkloadInfo &info)
RefDetectionPostProcessWorkload(const DetectionPostProcessQueueDescriptor &descriptor, const WorkloadInfo &info)
void Execute() const override
Copyright (c) 2021 ARM Limited and Contributors.
std::unique_ptr< Decoder< T > > MakeDecoder(const TensorInfo &info, const void *data=nullptr)
armnn::TensorInfo GetTensorInfo(unsigned int numberOfBatches, unsigned int numberOfChannels, unsigned int height, unsigned int width, const armnn::DataLayout dataLayout, const armnn::DataType dataType)
LayerDescriptor m_Parameters
Contains information about TensorInfos of a layer.