aboutsummaryrefslogtreecommitdiff
path: root/tests/NEON
diff options
context:
space:
mode:
authorChunosov <N.Chunosov@yandex.ru>2017-11-03 17:33:15 +0700
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:35:24 +0000
commitd621bca4e963555a99be4328c8d49d1813789649 (patch)
tree59503f9d4cdbaafefdba5a2569bf3d88082ad09d /tests/NEON
parent5a99ddf2dcf3a5eb49ea85cb8bcc6a43f1496e5e (diff)
downloadComputeLibrary-d621bca4e963555a99be4328c8d49d1813789649.tar.gz
COMPMID-661: directconv-uint8 (#20)
Change-Id: I84f7a1ce3658be0d3c91e65096467258af48f0b6 Reviewed-on: http://mpd-gerrit.cambridge.arm.com/94341 Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com> Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Diffstat (limited to 'tests/NEON')
-rw-r--r--tests/NEON/Accessor.h24
1 files changed, 15 insertions, 9 deletions
diff --git a/tests/NEON/Accessor.h b/tests/NEON/Accessor.h
index e0ff35231c..2bad53b3fe 100644
--- a/tests/NEON/Accessor.h
+++ b/tests/NEON/Accessor.h
@@ -46,15 +46,16 @@ public:
Accessor(Accessor &&) = default;
Accessor &operator=(Accessor &&) = default;
- TensorShape shape() const override;
- size_t element_size() const override;
- size_t size() const override;
- Format format() const override;
- DataType data_type() const override;
- int num_channels() const override;
- int num_elements() const override;
- PaddingSize padding() const override;
- int fixed_point_position() const override;
+ TensorShape shape() const override;
+ size_t element_size() const override;
+ size_t size() const override;
+ Format format() const override;
+ DataType data_type() const override;
+ int num_channels() const override;
+ int num_elements() const override;
+ PaddingSize padding() const override;
+ int fixed_point_position() const override;
+ QuantizationInfo quantization_info() const override;
const void *operator()(const Coordinates &coord) const override;
void *operator()(const Coordinates &coord) override;
const void *data() const;
@@ -114,6 +115,11 @@ inline int Accessor::fixed_point_position() const
return _tensor.info()->fixed_point_position();
}
+inline QuantizationInfo Accessor::quantization_info() const
+{
+ return _tensor.info()->quantization_info();
+}
+
inline const void *Accessor::data() const
{
return _tensor.buffer();