diff options
author | Isabella Gottardi <isabella.gottardi@arm.com> | 2017-11-03 12:11:55 +0000 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:35:24 +0000 |
commit | a4c6188262d6d9f75f019e437f8190bdd56e604d (patch) | |
tree | 6abdf95cea0e1bdffca342386f899734604cc992 /utils/Utils.h | |
parent | d621bca4e963555a99be4328c8d49d1813789649 (diff) | |
download | ComputeLibrary-a4c6188262d6d9f75f019e437f8190bdd56e604d.tar.gz |
COMPMID-657 - Add PPMAccessor and TopNPredictionsAccessor to GoogleNet
Change-Id: Ib6f2f9e73043d2c59b2698c243fb1a9f51c526e9
Reviewed-on: http://mpd-gerrit.cambridge.arm.com/94363
Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com>
Reviewed-by: Gian Marco Iodice <gianmarco.iodice@arm.com>
Diffstat (limited to 'utils/Utils.h')
-rw-r--r-- | utils/Utils.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/utils/Utils.h b/utils/Utils.h index 1f3d971917..28382f47e4 100644 --- a/utils/Utils.h +++ b/utils/Utils.h @@ -410,6 +410,20 @@ public: } } + /** Return the width of the currently open PPM file. + */ + unsigned int width() const + { + return _width; + } + + /** Return the height of the currently open PPM file. + */ + unsigned int height() const + { + return _height; + } + private: std::ifstream _fs; unsigned int _width, _height; |