We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a487ea commit 12607d3Copy full SHA for 12607d3
tools/imatrix/imatrix.cpp
@@ -317,7 +317,7 @@ static void compute_layer_statistics(const std::vector<tensor_statistics> & tsta
317
static const std::regex pattern(R"(blk\.(\d+)\.)");
318
std::unordered_map<std::string, const tensor_statistics*> tidx;
319
tidx.reserve(tstats.size());
320
- for (const auto & ts : tstats) tidx[ts.tensor] = &ts;
+ for (const auto & ts : tstats) { tidx[ts.tensor] = &ts; }
321
std::map<int, layer_aggregation> taggr;
322
323
for (const auto & ts : tstats) {
0 commit comments