diff options
author | Sanghoon Lee <sanghoon.lee@arm.com> | 2017-09-01 11:42:16 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:35:24 +0000 |
commit | 72898feff6dd07153384ab41246b93e44d046b3b (patch) | |
tree | ab87ea2e2c59e90126246ac3d143f3186d15af42 /tests/validation_old/Reference.cpp | |
parent | 06b184ac568dc974986bae680957c4477f8ef6ca (diff) | |
download | ComputeLibrary-72898feff6dd07153384ab41246b93e44d046b3b.tar.gz |
COMPMID-493: Port ArithmeticSubtraction to new validation
Change-Id: Ia49f337a8a574392ac0948fe65e9dca7a5fac2d0
Reviewed-on: http://mpd-gerrit.cambridge.arm.com/86338
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.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/tests/validation_old/Reference.cpp b/tests/validation_old/Reference.cpp index f8f2ded1dc..5aa39cb22e 100644 --- a/tests/validation_old/Reference.cpp +++ b/tests/validation_old/Reference.cpp @@ -187,23 +187,6 @@ RawTensor Reference::compute_reference_accumulate_weighted(const TensorShape &sh return ref_dst; } -RawTensor Reference::compute_reference_arithmetic_subtraction(const TensorShape &shape, DataType dt_in0, DataType dt_in1, DataType dt_out, ConvertPolicy convert_policy, int fixed_point_position) -{ - // 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::arithmetic_subtraction(ref_src1, ref_src2, ref_dst, convert_policy); - - return ref_dst; -} - RawTensor Reference::compute_reference_depth_convert(const TensorShape &shape, DataType dt_in, DataType dt_out, ConvertPolicy policy, uint32_t shift, uint32_t fixed_point_position_in, uint32_t fixed_point_position_out) { |