aboutsummaryrefslogtreecommitdiff
path: root/tests/validation/TensorVisitors.h
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/TensorVisitors.h
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/TensorVisitors.h')
-rw-r--r--tests/validation/TensorVisitors.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/tests/validation/TensorVisitors.h b/tests/validation/TensorVisitors.h
index 365aac7758..d72b437344 100644
--- a/tests/validation/TensorVisitors.h
+++ b/tests/validation/TensorVisitors.h
@@ -278,30 +278,6 @@ private:
const TensorVariant &_bias;
PadStrideInfo _conv_info;
};
-// Depth Concatenate Layer visitor
-struct depth_concatenate_layer_visitor : public boost::static_visitor<>
-{
-public:
- explicit depth_concatenate_layer_visitor(const std::vector<TensorVariant> &srcs)
- : _srcs(srcs)
- {
- }
-
- template <typename T>
- void operator()(Tensor<T> &out) const
- {
- std::vector<const Tensor<T> *> srcs;
- srcs.resize(_srcs.size());
- std::transform(_srcs.begin(), _srcs.end(), srcs.begin(), [](const TensorVariant & t)
- {
- return &(boost::get<Tensor<T>>(t));
- });
- tensor_operations::depth_concatenate_layer(srcs, out);
- }
-
-private:
- const std::vector<TensorVariant> &_srcs;
-};
// Fully Connected Layer visitor
struct fully_connected_layer_visitor : public boost::static_visitor<>
{