Skip to content

Commit ea50132

Browse files
author
AndreySorokin7
committed
fix tensor
1 parent 1ca4e3a commit ea50132

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/layers/Tensor.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class Tensor {
3737
Shape shape_;
3838
std::vector<uint8_t> values_;
3939
std::vector<float> bias_;
40-
Type type_;
40+
Type type_ = Type::kUnknown;
4141

4242
std::vector<uint8_t> SetRightTypeValues() {
4343
if (type_ == Type::kInt) {

0 commit comments

Comments
 (0)