diff options
author | Kevin Cheng <kevin.cheng@arm.com> | 2021-05-12 10:44:49 -0700 |
---|---|---|
committer | Kevin Cheng <kevin.cheng@arm.com> | 2021-05-12 14:51:16 -0700 |
commit | 14d7f7a2b5d0d85b83d8c84a5456828feb1a0ea1 (patch) | |
tree | c0e5eaa7e119d7998f5780a6c90947e875eddf84 /reference_model/src/ops/data_nodes.h | |
parent | d267dd9418374d49ac1e1a1a9c9b1d30b5733ee9 (diff) | |
download | reference_model-14d7f7a2b5d0d85b83d8c84a5456828feb1a0ea1.tar.gz |
Update to v0.22.0
- remove identityN and placeholder
- add div
- update serialization_lib hash
- update apply_scale_16() assertion
- regenerate examples/ due to serialization_lib change
Change-Id: I7183d92bec33697c65adfc07cb8eb89c6882675a
Diffstat (limited to 'reference_model/src/ops/data_nodes.h')
-rw-r--r-- | reference_model/src/ops/data_nodes.h | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/reference_model/src/ops/data_nodes.h b/reference_model/src/ops/data_nodes.h index bec4669..a02d441 100644 --- a/reference_model/src/ops/data_nodes.h +++ b/reference_model/src/ops/data_nodes.h @@ -31,16 +31,6 @@ public: virtual int eval(); }; -class OpPlaceholder : public GraphNode -{ -public: - OpPlaceholder(uint64_t id_); - virtual ~OpPlaceholder(); - - virtual int checkTensorAttributes(); - virtual int eval(); -}; - template <int Rank, DType Dtype> class OpIdentity : public GraphNode { @@ -61,26 +51,6 @@ protected: TosaReference::TensorTemplate<TOut>* out; }; -template <int Rank, DType Dtype> -class OpIdentityN : public GraphNode -{ -public: - OpIdentityN(TosaAttributeBase* attribute_, TosaQuantInfoBase* qinfo_, uint64_t id_); - virtual ~OpIdentityN(); - - virtual int checkTensorAttributes(); - virtual int eval(); - - using InEigenType = typename GetEigenType<Dtype>::type; - using OutEigenType = typename GetEigenType<Dtype>::type; - using TIn = Eigen::Tensor<InEigenType, Rank>; - using TOut = Eigen::Tensor<OutEigenType, Rank>; - -protected: - std::vector<TosaReference::TensorTemplate<TIn>*> ins; - std::vector<TosaReference::TensorTemplate<TOut>*> outs; -}; - }; // namespace TosaReference #endif |