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
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 @@
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 @@
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