diff options
Diffstat (limited to 'arm_compute/graph/mutators')
7 files changed, 13 insertions, 8 deletions
diff --git a/arm_compute/graph/mutators/DepthConcatSubTensorMutator.h b/arm_compute/graph/mutators/DepthConcatSubTensorMutator.h index cb1f079a2e..61d8854a61 100644 --- a/arm_compute/graph/mutators/DepthConcatSubTensorMutator.h +++ b/arm_compute/graph/mutators/DepthConcatSubTensorMutator.h @@ -40,7 +40,7 @@ public: // Inherited methods overridden virtual void mutate(Graph &g) override; MutationType type() const override; - const char *name() override; + const char *name() override; }; } // namespace graph } // namespace arm_compute diff --git a/arm_compute/graph/mutators/GroupedConvolutionMutator.h b/arm_compute/graph/mutators/GroupedConvolutionMutator.h index e68c7030d0..3ed8d786fc 100644 --- a/arm_compute/graph/mutators/GroupedConvolutionMutator.h +++ b/arm_compute/graph/mutators/GroupedConvolutionMutator.h @@ -40,7 +40,7 @@ public: // Inherited methods overridden virtual void mutate(Graph &g) override; MutationType type() const override; - const char *name() override; + const char *name() override; }; } // namespace graph } // namespace arm_compute diff --git a/arm_compute/graph/mutators/InPlaceOperationMutator.h b/arm_compute/graph/mutators/InPlaceOperationMutator.h index 6248d86a0a..86f62f1994 100644 --- a/arm_compute/graph/mutators/InPlaceOperationMutator.h +++ b/arm_compute/graph/mutators/InPlaceOperationMutator.h @@ -37,7 +37,7 @@ public: // Inherited methods overridden virtual void mutate(Graph &g) override; MutationType type() const override; - const char *name() override; + const char *name() override; }; } // namespace graph } // namespace arm_compute diff --git a/arm_compute/graph/mutators/NodeExecutionMethodMutator.h b/arm_compute/graph/mutators/NodeExecutionMethodMutator.h index 07c8ffad97..505d4ab300 100644 --- a/arm_compute/graph/mutators/NodeExecutionMethodMutator.h +++ b/arm_compute/graph/mutators/NodeExecutionMethodMutator.h @@ -42,7 +42,7 @@ public: // Inherited methods overridden virtual void mutate(Graph &g) override; MutationType type() const override; - const char *name() override; + const char *name() override; }; } // namespace graph } // namespace arm_compute diff --git a/arm_compute/graph/mutators/NodeFusionMutator.h b/arm_compute/graph/mutators/NodeFusionMutator.h index f3e3eaa190..9d2d44f436 100644 --- a/arm_compute/graph/mutators/NodeFusionMutator.h +++ b/arm_compute/graph/mutators/NodeFusionMutator.h @@ -38,7 +38,7 @@ public: // Inherited methods overridden virtual void mutate(Graph &g) override; MutationType type() const override; - const char *name() override; + const char *name() override; }; } // namespace graph } // namespace arm_compute diff --git a/arm_compute/graph/mutators/SplitLayerSubTensorMutator.h b/arm_compute/graph/mutators/SplitLayerSubTensorMutator.h index b14ef59532..ab9746a29b 100644 --- a/arm_compute/graph/mutators/SplitLayerSubTensorMutator.h +++ b/arm_compute/graph/mutators/SplitLayerSubTensorMutator.h @@ -40,7 +40,7 @@ public: // Inherited methods overridden virtual void mutate(Graph &g) override; MutationType type() const override; - const char *name() override; + const char *name() override; }; } // namespace graph } // namespace arm_compute diff --git a/arm_compute/graph/mutators/SyntheticDataTypeMutator.h b/arm_compute/graph/mutators/SyntheticDataTypeMutator.h index ed270f894f..ce8af0a1d7 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; + const char *name() override; + +private: + DataType _mutate_type; }; } // namespace graph } // namespace arm_compute |