Update table display

This commit is contained in:
Ed Addario 2025-08-02 16:46:27 +01:00
parent ee2509f563
commit fc8f92596f
No known key found for this signature in database
GPG Key ID: E7875815A3230993
1 changed files with 16 additions and 3 deletions

View File

@ -1225,9 +1225,22 @@ static bool show_statistics(const common_params & params) {
std::map<int, weighted_stats> ws;
LOG_INF("\nComputing statistics for %s (%d tensors)\n", params.in_files[0].c_str(), static_cast<int>(ts.size()));
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²)",
" Min", " Max", " μ", " σ", " % Active", "N", " Entropy", "E (norm)", "ZD",
" CosSim");
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",
tensor_calc_mode == 1 ? " L₂ Norm" : " Σ(Act²)",
" Min",
" Max",
" μ",
" σ",
" % Active",
"N",
" Entropy",
"E (norm)",
"ZD",
" CosSim"
);
LOG_INF(
"=============================================================================================================="
"===========================================================\n");