aboutsummaryrefslogtreecommitdiff
path: root/utils/GraphUtils.h
diff options
context:
space:
mode:
authorAnthony Barbier <anthony.barbier@arm.com>2018-08-21 18:16:53 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:54:54 +0000
commit8a042116e26b702a74514b251b0961c4b661e6ca (patch)
tree1d6b06490401dc491ea8e97bf3daa9eedfcc00a0 /utils/GraphUtils.h
parent80040bce896357fa15b7a6f05a624b9e18ee5821 (diff)
downloadComputeLibrary-8a042116e26b702a74514b251b0961c4b661e6ca.tar.gz
COMPMID-1188: Revert change to DummyAccessor, fixed NPY and Image loaders
Change-Id: If645dc88871cb2bc3fb68bba5b90e656869d8b5a Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/145079 Reviewed-by: Gian Marco Iodice <gianmarco.iodice@arm.com> Tested-by: Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'utils/GraphUtils.h')
-rw-r--r--utils/GraphUtils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/GraphUtils.h b/utils/GraphUtils.h
index bc7699b70c..a6d670d761 100644
--- a/utils/GraphUtils.h
+++ b/utils/GraphUtils.h
@@ -183,6 +183,7 @@ public:
bool access_tensor(ITensor &tensor) override;
private:
+ bool _already_loaded;
const std::string _filename;
const bool _bgr;
std::unique_ptr<IPreprocessor> _preprocessor;
@@ -352,6 +353,7 @@ public:
bool access_tensor(ITensor &tensor) override;
private:
+ bool _already_loaded;
const std::string _filename;
const DataLayout _file_layout;
};