From fc8f92596fb26dc6c0e7cd3e7c7598d2135ab548 Mon Sep 17 00:00:00 2001 From: Ed Addario Date: Sat, 2 Aug 2025 16:46:27 +0100 Subject: [PATCH] Update table display --- tools/imatrix/imatrix.cpp | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/tools/imatrix/imatrix.cpp b/tools/imatrix/imatrix.cpp index fd90fe2089..ca26195d2c 100644 --- a/tools/imatrix/imatrix.cpp +++ b/tools/imatrix/imatrix.cpp @@ -1225,9 +1225,22 @@ static bool show_statistics(const common_params & params) { std::map ws; LOG_INF("\nComputing statistics for %s (%d tensors)\n", params.in_files[0].c_str(), static_cast(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");