diff options
author | Eric Kunze <eric.kunze@arm.com> | 2022-06-07 05:20:44 +0000 |
---|---|---|
committer | Eric Kunze <eric.kunze@arm.com> | 2022-06-15 11:38:04 -0700 |
commit | b5fabec33abeca2d92c20c7b094fa3f113d0ddd8 (patch) | |
tree | 9c7d946012c7a70a7fcb237daa4376d7b65c6f76 /reference_model/src/ops/reduction.h | |
parent | 24594f55ee3bf0e95c764e51b94c3ec7f9cfa54a (diff) | |
download | reference_model-b5fabec33abeca2d92c20c7b094fa3f113d0ddd8.tar.gz |
Remove quantization info from serialization attributes
Any needed information moves into the attributes for each operator.
New serialization library version removes teh quantization information
attributes from the schema
Signed-off-by: Eric Kunze <eric.kunze@arm.com>
Change-Id: Icf6165687ab1fd34a01f64c01b0b92b2820e72fa
Diffstat (limited to 'reference_model/src/ops/reduction.h')
-rw-r--r-- | reference_model/src/ops/reduction.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/reference_model/src/ops/reduction.h b/reference_model/src/ops/reduction.h index f3407f4..6e98a76 100644 --- a/reference_model/src/ops/reduction.h +++ b/reference_model/src/ops/reduction.h @@ -48,7 +48,7 @@ template <int Rank, DType Dtype> class OpReduceAll : public ReduceNode<Rank, Dtype> { public: - OpReduceAll(SubgraphTraverser* sgt_, TosaAttributeBase* attribute_, TosaQuantInfoBase* qinfo_, uint64_t id_) + OpReduceAll(SubgraphTraverser* sgt_, TosaAttributeBase* attribute_, uint64_t id_) : ReduceNode<Rank, Dtype>(sgt_, Op_REDUCE_ALL, attribute_, id_) {} virtual int eval(); @@ -58,7 +58,7 @@ template <int Rank, DType Dtype> class OpReduceAny : public ReduceNode<Rank, Dtype> { public: - OpReduceAny(SubgraphTraverser* sgt_, TosaAttributeBase* attribute_, TosaQuantInfoBase* qinfo_, uint64_t id_) + OpReduceAny(SubgraphTraverser* sgt_, TosaAttributeBase* attribute_, uint64_t id_) : ReduceNode<Rank, Dtype>(sgt_, Op_REDUCE_ALL, attribute_, id_) {} virtual int eval(); @@ -68,7 +68,7 @@ template <int Rank, DType Dtype> class OpReduceMax : public ReduceNode<Rank, Dtype> { public: - OpReduceMax(SubgraphTraverser* sgt_, TosaAttributeBase* attribute_, TosaQuantInfoBase* qinfo_, uint64_t id_) + OpReduceMax(SubgraphTraverser* sgt_, TosaAttributeBase* attribute_, uint64_t id_) : ReduceNode<Rank, Dtype>(sgt_, Op_REDUCE_MAX, attribute_, id_) {} virtual int eval(); @@ -78,7 +78,7 @@ template <int Rank, DType Dtype> class OpReduceMin : public ReduceNode<Rank, Dtype> { public: - OpReduceMin(SubgraphTraverser* sgt_, TosaAttributeBase* attribute_, TosaQuantInfoBase* qinfo_, uint64_t id_) + OpReduceMin(SubgraphTraverser* sgt_, TosaAttributeBase* attribute_, uint64_t id_) : ReduceNode<Rank, Dtype>(sgt_, Op_REDUCE_MIN, attribute_, id_) {} virtual int eval(); @@ -88,7 +88,7 @@ template <int Rank, DType Dtype> class OpReduceProduct : public ReduceNode<Rank, Dtype> { public: - OpReduceProduct(SubgraphTraverser* sgt_, TosaAttributeBase* attribute_, TosaQuantInfoBase* qinfo_, uint64_t id_) + OpReduceProduct(SubgraphTraverser* sgt_, TosaAttributeBase* attribute_, uint64_t id_) : ReduceNode<Rank, Dtype>(sgt_, Op_REDUCE_PRODUCT, attribute_, id_) {} virtual int eval(); @@ -98,7 +98,7 @@ template <int Rank, DType Dtype> class OpReduceSum : public ReduceNode<Rank, Dtype> { public: - OpReduceSum(SubgraphTraverser* sgt_, TosaAttributeBase* attribute_, TosaQuantInfoBase* qinfo_, uint64_t id_) + OpReduceSum(SubgraphTraverser* sgt_, TosaAttributeBase* attribute_, uint64_t id_) : ReduceNode<Rank, Dtype>(sgt_, Op_REDUCE_SUM, attribute_, id_) {} virtual int eval(); @@ -108,7 +108,7 @@ template <int Rank, DType Dtype> class OpReduceSumInt : public ReduceNode<Rank, Dtype> { public: - OpReduceSumInt(SubgraphTraverser* sgt_, TosaAttributeBase* attribute_, TosaQuantInfoBase* qinfo_, uint64_t id_) + OpReduceSumInt(SubgraphTraverser* sgt_, TosaAttributeBase* attribute_, uint64_t id_) : ReduceNode<Rank, Dtype>(sgt_, Op_REDUCE_SUM, attribute_, id_) {} virtual int eval(); |