From bf3fedf1e77a53cb78ec8e2f93463de13c57af64 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Vladimir=20Plazun/AI=20Tools=20Lab=20/SRR/Engineer/?= =?utf8?q?=EC=82=BC=EC=84=B1=EC=A0=84=EC=9E=90?= Date: Tue, 10 Jul 2018 13:56:24 +0300 Subject: [PATCH] Make TensorVariable copy assignable (#575) Required by model IR interpreter Signed-off-by: Vladimir Plazun --- contrib/nnc/libs/core/include/nnc/core/linalg/TensorVariant.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/contrib/nnc/libs/core/include/nnc/core/linalg/TensorVariant.h b/contrib/nnc/libs/core/include/nnc/core/linalg/TensorVariant.h index acaf3e8..d955f79 100644 --- a/contrib/nnc/libs/core/include/nnc/core/linalg/TensorVariant.h +++ b/contrib/nnc/libs/core/include/nnc/core/linalg/TensorVariant.h @@ -47,13 +47,13 @@ public: size_t getElementSize() const { return _element_size; } private: - const DTYPE _dtype; - const std::shared_ptr _data; + DTYPE _dtype; + std::shared_ptr _data; uint_fast32_t _strides[MAX_DIMENSIONS]; size_t _rank; Shape _shape; - const size_t _element_size; + size_t _element_size; }; } // namespace ADT -- 2.7.4