Use { and } around single line for statement
This commit is contained in:
parent
4a487ea7e4
commit
12607d3203
|
|
@ -317,7 +317,7 @@ static void compute_layer_statistics(const std::vector<tensor_statistics> & tsta
|
|||
static const std::regex pattern(R"(blk\.(\d+)\.)");
|
||||
std::unordered_map<std::string, const tensor_statistics*> tidx;
|
||||
tidx.reserve(tstats.size());
|
||||
for (const auto & ts : tstats) tidx[ts.tensor] = &ts;
|
||||
for (const auto & ts : tstats) { tidx[ts.tensor] = &ts; }
|
||||
std::map<int, layer_aggregation> taggr;
|
||||
|
||||
for (const auto & ts : tstats) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue