aboutsummaryrefslogtreecommitdiff
path: root/tests/validation_old/Reference.cpp
diff options
context:
space:
mode:
authorJohn Richardson <john.richardson@arm.com>2017-09-18 16:10:48 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:35:24 +0000
commitdd715f2a88827241a3fb9e4a2d8be82455f649f7 (patch)
tree2353cbe326073870877e5e8211a7760a743eb919 /tests/validation_old/Reference.cpp
parentf5f34bb068565bf9435ba5561aae1c9280db8bbe (diff)
downloadComputeLibrary-dd715f2a88827241a3fb9e4a2d8be82455f649f7.tar.gz
COMPMID-505: Move PixelWiseMultiplication to new validation
Change-Id: I4daff53f5ee7f0393451425ba20aee1013466954 Reviewed-on: http://mpd-gerrit.cambridge.arm.com/89200 Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com> Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Diffstat (limited to 'tests/validation_old/Reference.cpp')
-rw-r--r--tests/validation_old/Reference.cpp36
1 files changed, 0 insertions, 36 deletions
diff --git a/tests/validation_old/Reference.cpp b/tests/validation_old/Reference.cpp
index 628bd11f4b..c76d429067 100644
--- a/tests/validation_old/Reference.cpp
+++ b/tests/validation_old/Reference.cpp
@@ -128,42 +128,6 @@ RawTensor Reference::compute_reference_accumulate_weighted(const TensorShape &sh
return ref_dst;
}
-RawTensor Reference::compute_reference_pixel_wise_multiplication(const TensorShape &shape, DataType dt_in0, DataType dt_in1, DataType dt_out, float scale, ConvertPolicy convert_policy,
- RoundingPolicy rounding_policy)
-{
- // Create reference
- RawTensor ref_src1(shape, dt_in0);
- RawTensor ref_src2(shape, dt_in1);
- RawTensor ref_dst(shape, dt_out);
-
- // Fill reference
- library->fill_tensor_uniform(ref_src1, 0);
- library->fill_tensor_uniform(ref_src2, 1);
-
- // Compute reference
- ReferenceCPP::pixel_wise_multiplication(ref_src1, ref_src2, ref_dst, scale, convert_policy, rounding_policy);
-
- return ref_dst;
-}
-
-RawTensor Reference::compute_reference_fixed_point_pixel_wise_multiplication(const TensorShape &shape, DataType dt_in0, DataType dt_in1, DataType dt_out, float scale, int fixed_point_position,
- ConvertPolicy convert_policy, RoundingPolicy rounding_policy)
-{
- // Create reference
- RawTensor ref_src1(shape, dt_in0, 1, fixed_point_position);
- RawTensor ref_src2(shape, dt_in1, 1, fixed_point_position);
- RawTensor ref_dst(shape, dt_out, 1, fixed_point_position);
-
- // Fill reference
- library->fill_tensor_uniform(ref_src1, 0);
- library->fill_tensor_uniform(ref_src2, 1);
-
- // Compute reference
- ReferenceCPP::fixed_point_pixel_wise_multiplication(ref_src1, ref_src2, ref_dst, scale, convert_policy, rounding_policy);
-
- return ref_dst;
-}
-
RawTensor Reference::compute_reference_roi_pooling_layer(const TensorShape &shape, DataType dt, const std::vector<ROI> &rois, const ROIPoolingLayerInfo &pool_info)
{
TensorShape shape_dst;