diff options
Diffstat (limited to 'src/backends/reference/workloads/DetectionPostProcess.hpp')
-rw-r--r-- | src/backends/reference/workloads/DetectionPostProcess.hpp | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/backends/reference/workloads/DetectionPostProcess.hpp b/src/backends/reference/workloads/DetectionPostProcess.hpp new file mode 100644 index 0000000000..06e9e15781 --- /dev/null +++ b/src/backends/reference/workloads/DetectionPostProcess.hpp @@ -0,0 +1,29 @@ +// +// Copyright © 2017 Arm Ltd. All rights reserved. +// SPDX-License-Identifier: MIT +// +#pragma once + +#include "armnn/Tensor.hpp" +#include "armnn/Descriptors.hpp" + +namespace armnn +{ + +void DetectionPostProcess(const TensorInfo& boxEncodingsInfo, + const TensorInfo& scoresInfo, + const TensorInfo& anchorsInfo, + const TensorInfo& detectionBoxesInfo, + const TensorInfo& detectionClassesInfo, + const TensorInfo& detectionScoresInfo, + const TensorInfo& numDetectionsInfo, + const DetectionPostProcessDescriptor& desc, + const float* boxEncodings, + const float* scores, + const float* anchors, + float* detectionBoxes, + float* detectionClasses, + float* detectionScores, + float* numDetections); + +} // namespace armnn |