Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
eddieliao committed Jul 22, 2024
1 parent e3fe377 commit 36c09ce
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/driver/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -438,9 +438,9 @@ struct program_params
std::inserter(static_param_shapes, static_param_shapes.end()),
[&](const auto& x) { return std::make_pair(x.first, x.second.to_static(batch)); });

size_t shape_size = std::accumulate(static_param_shapes.begin(),
static_param_shapes.end(),
0,
size_t shape_size = std::accumulate(static_param_shapes.begin(),
static_param_shapes.end(),
0,
[](auto s, auto x) { return s + x.second.bytes(); });
std::cout << "Total parameter size: " << shape_size << " bytes" << std::endl;

Expand Down

0 comments on commit 36c09ce

Please sign in to comment.