diff options
author | Anthony Barbier <anthony.barbier@arm.com> | 2017-12-22 13:53:46 +0000 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:42:33 +0000 |
commit | e1a905a8d273c4255c73eca83ee0945c1bca1201 (patch) | |
tree | 0e2d892eef8f7fffc76196027c0a394d2d8059c6 | |
parent | 490b3d839808cbd088ab567dec991dcefb08f718 (diff) | |
download | ComputeLibrary-e1a905a8d273c4255c73eca83ee0945c1bca1201.tar.gz |
COMPMID-762 Output dummy accessor should always succeeds
Otherwise bad things happen when a dummy accessor is used for the input too.
Change-Id: I3cf8be18fcca6f509761fd8b903b89a83c1cd24b
Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/114516
Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
Tested-by: Jenkins <bsgcomp@arm.com>
-rw-r--r-- | utils/GraphUtils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/GraphUtils.h b/utils/GraphUtils.h index 429394d1cc..ae6ecad881 100644 --- a/utils/GraphUtils.h +++ b/utils/GraphUtils.h @@ -255,7 +255,7 @@ inline std::unique_ptr<graph::ITensorAccessor> get_output_accessor(const std::st { if(labels_path.empty()) { - return arm_compute::support::cpp14::make_unique<DummyAccessor>(); + return arm_compute::support::cpp14::make_unique<DummyAccessor>(0); } else { |