diff options
author | Moritz Pflanzer <moritz.pflanzer@arm.com> | 2017-08-09 11:45:15 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:35:24 +0000 |
commit | 69d3341e6903c1ea87c46e39d6d3e64b2a0d5b4e (patch) | |
tree | fcb9afb7b9c51614bde40c978aa0d50849d27168 /tests/validation/TensorVisitors.h | |
parent | 75af28e6936f084fdfa65add7631cd2cd2050b0c (diff) | |
download | ComputeLibrary-69d3341e6903c1ea87c46e39d6d3e64b2a0d5b4e.tar.gz |
COMPMID-415: Move FullyConnectedLayer to new validation
Change-Id: I7f60d6fb484d3962b88874e1531cec734c11e416
Reviewed-on: http://mpd-gerrit.cambridge.arm.com/83556
Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com>
Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Diffstat (limited to 'tests/validation/TensorVisitors.h')
-rw-r--r-- | tests/validation/TensorVisitors.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/tests/validation/TensorVisitors.h b/tests/validation/TensorVisitors.h index 193697acf0..732cd0e8f1 100644 --- a/tests/validation/TensorVisitors.h +++ b/tests/validation/TensorVisitors.h @@ -232,28 +232,6 @@ private: float _epsilon; int _fixed_point_position; }; -// Fully Connected Layer visitor -struct fully_connected_layer_visitor : public boost::static_visitor<> -{ -public: - explicit fully_connected_layer_visitor(const TensorVariant &in, const TensorVariant &weights, const TensorVariant &bias) - : _in(in), _weights(weights), _bias(bias) - { - } - template <typename T> - void operator()(Tensor<T> &out) const - { - const Tensor<T> &in = boost::get<Tensor<T>>(_in); - const Tensor<T> &weights = boost::get<Tensor<T>>(_weights); - const Tensor<T> &bias = boost::get<Tensor<T>>(_bias); - tensor_operations::fully_connected_layer(in, weights, bias, out); - } - -private: - const TensorVariant &_in; - const TensorVariant &_weights; - const TensorVariant &_bias; -}; // Pooling layer struct pooling_layer_visitor : public boost::static_visitor<> |