diff options
author | SiCong Li <sicong.li@arm.com> | 2017-07-04 15:02:10 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:35:24 +0000 |
commit | 3e36369a5511c3028c30fc820752dc1248bddf5c (patch) | |
tree | 58eb09548bdcc276e62f41f01f86fa06fea211e7 /tests/validation/Helpers.h | |
parent | edfa9f463bed084f8b0953557202b2a1e56da817 (diff) | |
download | ComputeLibrary-3e36369a5511c3028c30fc820752dc1248bddf5c.tar.gz |
COMPMID-358 Implement OpenCL ROI Pooling
* Implement OpenCL ROI Pooling
* Add CLROIPoolingLayer benchmarks
Change-Id: I8786d01d551850a1b4d599a48fabe3925e0a27d0
Reviewed-on: http://mpd-gerrit.cambridge.arm.com/79833
Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com>
Diffstat (limited to 'tests/validation/Helpers.h')
-rw-r--r-- | tests/validation/Helpers.h | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/tests/validation/Helpers.h b/tests/validation/Helpers.h index 09ffda8957..19a0c4105c 100644 --- a/tests/validation/Helpers.h +++ b/tests/validation/Helpers.h @@ -32,6 +32,7 @@ #include "tests/validation/half.h" #include <array> +#include <cstring> #include <random> #include <type_traits> #include <utility> @@ -250,17 +251,6 @@ inline void fill_warp_matrix(std::array<float, SIZE> &matrix, int cols, int rows } } -/** Create a vector of random ROIs. - * - * @param[in] shape The shape of the input tensor. - * @param[in] pool_info The ROI pooling information. - * @param[in] num_rois The number of ROIs to be created. - * @param[in] seed The random seed to be used. - * - * @return A vector that contains the requested number of random ROIs - */ -std::vector<ROI> generate_random_rois(const TensorShape &shape, const ROIPoolingLayerInfo &pool_info, unsigned int num_rois, std::random_device::result_type seed); - /** Helper function to fill the Lut random by a ILutAccessor. * * @param[in,out] table Accessor at the Lut. @@ -277,7 +267,6 @@ void fill_lookuptable(T &&table) table[i] = distribution(generator); } } - } // namespace validation } // namespace test } // namespace arm_compute |