aboutsummaryrefslogtreecommitdiff
path: root/tests/validation/Reference.cpp
diff options
context:
space:
mode:
authorMoritz Pflanzer <moritz.pflanzer@arm.com>2017-07-21 17:41:02 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-09-17 14:16:42 +0100
commit3ce3ff4e7133942e75fceae8f317104644d88bea (patch)
tree62b9ad8922fc0ccde231dbccde4f60328a645b53 /tests/validation/Reference.cpp
parenta2611815f278334c801094d095901d36e111c3f9 (diff)
downloadComputeLibrary-3ce3ff4e7133942e75fceae8f317104644d88bea.tar.gz
COMPMID-415: Move DepthConcatenateLayer to new validation
Change-Id: I3e594d5800f563ba9af3195b7db2b6d3e32012dd Reviewed-on: http://mpd-gerrit.cambridge.arm.com/81340 Reviewed-by: Anthony Barbier <anthony.barbier@arm.com> Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com>
Diffstat (limited to 'tests/validation/Reference.cpp')
-rw-r--r--tests/validation/Reference.cpp24
1 files changed, 0 insertions, 24 deletions
diff --git a/tests/validation/Reference.cpp b/tests/validation/Reference.cpp
index 011fd091f2..145f308c50 100644
--- a/tests/validation/Reference.cpp
+++ b/tests/validation/Reference.cpp
@@ -557,30 +557,6 @@ RawTensor Reference::compute_reference_convolution_layer(const TensorShape &inpu
return ref_dst;
}
-RawTensor Reference::compute_reference_depth_concatenate_layer(const std::vector<TensorShape> &shapes, DataType dt, int fixed_point_position)
-{
- std::vector<std::unique_ptr<RawTensor>> ref_srcs{};
- TensorShape dst_shape = calculate_depth_concatenate_shape(shapes);
-
- // Create tensors
- for(const auto &shape : shapes)
- {
- ref_srcs.push_back(support::cpp14::make_unique<RawTensor>(shape, dt, 1, fixed_point_position));
- }
- RawTensor ref_dst(dst_shape, dt, 1, fixed_point_position);
-
- // Fill references
- for(unsigned int i = 0; i < ref_srcs.size(); ++i)
- {
- library->fill_tensor_uniform(*ref_srcs[i], i);
- }
-
- // Compute reference
- ReferenceCPP::depth_concatenate_layer(ref_srcs, ref_dst);
-
- return ref_dst;
-}
-
RawTensor Reference::compute_reference_fully_connected_layer(const TensorShape &input_shape, const TensorShape &weights_shape, const TensorShape &bias_shape, const TensorShape &output_shape,
DataType dt, bool transpose_weights, int fixed_point_position)
{