Skip to content

Commit

Permalink
fix expected_size
Browse files Browse the repository at this point in the history
  • Loading branch information
Semyon1104 committed Nov 29, 2024
1 parent dbdbb46 commit 6d0696e
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/Weights_Reader/reader_weights.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,7 @@ Tensor create_tensor_from_json(const json& j, Type type) {
std::cout << "Extracted values size: " << vals.size() << std::endl;

parse_json_shape(j, shape, 0);
std::cout << "Parsed shape: ";
size_t expected_size = 1;
for (const auto& dim : shape) {
std::cout << dim << " ";
expected_size *= dim;
}

std::cout << std::endl;

extract_bias_from_json(j, bias);
Expand Down

0 comments on commit 6d0696e

Please sign in to comment.