Skip to content

Commit fc8f925

Browse files
committed
Update table display
1 parent ee2509f commit fc8f925

File tree

1 file changed

+16
-3
lines changed

1 file changed

+16
-3
lines changed

tools/imatrix/imatrix.cpp

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1225,9 +1225,22 @@ static bool show_statistics(const common_params & params) {
12251225
std::map<int, weighted_stats> ws;
12261226

12271227
LOG_INF("\nComputing statistics for %s (%d tensors)\n", params.in_files[0].c_str(), static_cast<int>(ts.size()));
1228-
LOG_INF("\n%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\n", " Layer", " Tensor", " Σ(Act²)",
1229-
" Min", " Max", " μ", " σ", " % Active", "N", " Entropy", "E (norm)", "ZD",
1230-
" CosSim");
1228+
LOG_INF(
1229+
"\n%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\n",
1230+
" Layer",
1231+
" Tensor",
1232+
tensor_calc_mode == 1 ? " L₂ Norm" : " Σ(Act²)",
1233+
" Min",
1234+
" Max",
1235+
" μ",
1236+
" σ",
1237+
" % Active",
1238+
"N",
1239+
" Entropy",
1240+
"E (norm)",
1241+
"ZD",
1242+
" CosSim"
1243+
);
12311244
LOG_INF(
12321245
"=============================================================================================================="
12331246
"===========================================================\n");

0 commit comments

Comments
 (0)