We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f9b4a2 commit 213056cCopy full SHA for 213056c
1 file changed
include/layers/Tensor.hpp
@@ -86,10 +86,10 @@ class Tensor {
86
values_ = a;
87
}
88
89
- Tensor(const Tensor& t) = default;
90
- Tensor(Tensor&& t) = default;
91
- Tensor& operator=(Tensor&& t) = default;
92
- Tensor& operator=(const Tensor& t) = default;
+ Tensor(const Tensor& t) noexcept = default;
+ Tensor(Tensor&& t) noexcept = default;
+ Tensor& operator=(const Tensor& t) noexcept = default;
+ Tensor& operator=(Tensor&& t) noexcept = default;
93
94
[[nodiscard]] Shape get_shape() const { return shape_; }
95
[[nodiscard]] Type get_type() const noexcept { return type_; }
0 commit comments