diff options
author | Georgios Pinitas <georgios.pinitas@arm.com> | 2019-05-20 19:40:47 +0100 |
---|---|---|
committer | Georgios Pinitas <georgios.pinitas@arm.com> | 2019-05-22 14:10:00 +0000 |
commit | 725b173d620726015cfebfd28356c1c1fa6e80b9 (patch) | |
tree | 51bdea1fa961d76770ed2dc9dbcd90745e3485c8 /arm_compute/runtime/NEON/functions/NEHOGMultiDetection.h | |
parent | b8d5b958d489c21214cc23755d442e4e78f03878 (diff) | |
download | ComputeLibrary-725b173d620726015cfebfd28356c1c1fa6e80b9.tar.gz |
COMPMID-2214: Remove std::vector<std::unique_ptr<>> where possible.
Change-Id: I6569aa64a4976966445ed7646129c36fe4654cd9
Signed-off-by: Georgios Pinitas <georgios.pinitas@arm.com>
Reviewed-on: https://review.mlplatform.org/c/1190
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Michalis Spyrou <michalis.spyrou@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'arm_compute/runtime/NEON/functions/NEHOGMultiDetection.h')
-rw-r--r-- | arm_compute/runtime/NEON/functions/NEHOGMultiDetection.h | 33 |
1 files changed, 16 insertions, 17 deletions
diff --git a/arm_compute/runtime/NEON/functions/NEHOGMultiDetection.h b/arm_compute/runtime/NEON/functions/NEHOGMultiDetection.h index e21f4639c1..a1907fc762 100644 --- a/arm_compute/runtime/NEON/functions/NEHOGMultiDetection.h +++ b/arm_compute/runtime/NEON/functions/NEHOGMultiDetection.h @@ -89,22 +89,21 @@ public: void run() override; private: - MemoryGroup _memory_group; - NEHOGGradient _gradient_kernel; - std::vector<std::unique_ptr<NEHOGOrientationBinningKernel>> _orient_bin_kernel; - std::vector<std::unique_ptr<NEHOGBlockNormalizationKernel>> _block_norm_kernel; - std::vector<std::unique_ptr<NEHOGDetector>> _hog_detect_kernel; - std::unique_ptr<CPPDetectionWindowNonMaximaSuppressionKernel> _non_maxima_kernel; - std::vector<std::unique_ptr<Tensor>> _hog_space; - std::vector<std::unique_ptr<Tensor>> _hog_norm_space; - IDetectionWindowArray *_detection_windows; - Tensor _mag; - Tensor _phase; - bool _non_maxima_suppression; - size_t _num_orient_bin_kernel; - size_t _num_block_norm_kernel; - size_t _num_hog_detect_kernel; + MemoryGroup _memory_group; + NEHOGGradient _gradient_kernel; + std::vector<NEHOGOrientationBinningKernel> _orient_bin_kernel; + std::vector<NEHOGBlockNormalizationKernel> _block_norm_kernel; + std::vector<NEHOGDetector> _hog_detect_kernel; + CPPDetectionWindowNonMaximaSuppressionKernel _non_maxima_kernel; + std::vector<Tensor> _hog_space; + std::vector<Tensor> _hog_norm_space; + IDetectionWindowArray *_detection_windows; + Tensor _mag; + Tensor _phase; + bool _non_maxima_suppression; + size_t _num_orient_bin_kernel; + size_t _num_block_norm_kernel; + size_t _num_hog_detect_kernel; }; -} - +} // namespace arm_compute #endif /* __ARM_COMPUTE_NEHOGMULTIDETECTION_H__ */ |