diff options
author | SiCongLi <sicong.li@arm.com> | 2021-03-01 15:26:18 +0000 |
---|---|---|
committer | SiCong Li <sicong.li@arm.com> | 2021-03-03 10:45:00 +0000 |
commit | f466d75f85938b96dd14675ec091193bdce12122 (patch) | |
tree | b4dcb0f1c5e2bf15ba129525d0271e48a9b0f2a6 /arm_compute/graph/mutators | |
parent | 793daa138aee628bf80289191061ec8c81421bd2 (diff) | |
download | ComputeLibrary-f466d75f85938b96dd14675ec091193bdce12122.tar.gz |
Add QASYMM8_SIGNED support to graph examples via graph mutator
Related to COMPMID-4279
Signed-off-by: SiCongLi <sicong.li@arm.com>
Change-Id: I6c737536b4e614cc9975003acca766803f55bf0b
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/5206
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'arm_compute/graph/mutators')
-rw-r--r-- | arm_compute/graph/mutators/SyntheticDataTypeMutator.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/arm_compute/graph/mutators/SyntheticDataTypeMutator.h b/arm_compute/graph/mutators/SyntheticDataTypeMutator.h index ed270f894f..2292e52086 100644 --- a/arm_compute/graph/mutators/SyntheticDataTypeMutator.h +++ b/arm_compute/graph/mutators/SyntheticDataTypeMutator.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019 Arm Limited. + * Copyright (c) 2019-2021 Arm Limited. * * SPDX-License-Identifier: MIT * @@ -35,10 +35,15 @@ namespace graph class SyntheticDataTypeMutator final : public IGraphMutator { public: + // Constructor + SyntheticDataTypeMutator(DataType mutate_type = DataType::QASYMM8); // Inherited methods overridden virtual void mutate(Graph &g) override; MutationType type() const override; const char *name() override; + +private: + DataType _mutate_type; }; } // namespace graph } // namespace arm_compute |