diff options
author | Kevin Cheng <kevin.cheng@arm.com> | 2021-10-18 21:51:55 +0000 |
---|---|---|
committer | Kevin Cheng <kevin.cheng@arm.com> | 2021-10-28 16:51:33 +0000 |
commit | fe392ce8e714e616b5ab5b8a519d3eb84623273d (patch) | |
tree | 15b909b07cbe2b0fb435a2e0c3b513e13a8727b7 /reference_model/src/ops/data_layout.h | |
parent | 1009674513d09af1a699a8bf0f646c7130d7a0ac (diff) | |
download | reference_model-fe392ce8e714e616b5ab5b8a519d3eb84623273d.tar.gz |
Changes for 0.23.0 release
- update serialization_lib hash
- PAD:
1. make padding as an attribute instead of tensor.
2. add pad_const_int (for non-float type) / pad_const_fp (for float type)
- TRANSPOSE: make perm as an attribute instead of tensor
- TABLE: make table as attribute instead of tensor
- update examples/ tests
Signed-off-by: Kevin Cheng <kevin.cheng@arm.com>
Change-Id: Iddc446db4b356ba2f36ea4a79b7220b9cfc2aa4e
Diffstat (limited to 'reference_model/src/ops/data_layout.h')
-rw-r--r-- | reference_model/src/ops/data_layout.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/reference_model/src/ops/data_layout.h b/reference_model/src/ops/data_layout.h index 9f44fc7..bad88e4 100644 --- a/reference_model/src/ops/data_layout.h +++ b/reference_model/src/ops/data_layout.h @@ -63,8 +63,8 @@ protected: Eigen::array<std::pair<ptrdiff_t, ptrdiff_t>, Rank> paddings_array; TosaReference::TensorTemplate<TIn>* in; TosaReference::TensorTemplate<TOut>* out; - TosaReference::TensorTemplate<Eigen::Tensor<int32_t, 2>>* paddings; TosaPadQuantInfo* qinfo; + TosaPadAttribute* attribute; }; template <int InRank, int OutRank, DType Dtype> @@ -207,8 +207,8 @@ public: protected: Eigen::array<int, Rank> perm_array; + TosaTransposeAttribute* attribute; TosaReference::TensorTemplate<TIn>* in; - TosaReference::TensorTemplate<ETensor1<int32_t>>* perm_tensor; TosaReference::TensorTemplate<TOut>* out; }; }; // namespace TosaReference |