Fix printing l2 norm when calc_mode = 1

This commit is contained in:
Ed Addario 2025-08-03 17:14:46 +01:00
parent 90cb1be99d
commit f1c2a4ca3f
No known key found for this signature in database
GPG Key ID: E7875815A3230993
1 changed files with 1 additions and 1 deletions

View File

@ -1302,7 +1302,7 @@ static bool show_statistics(const common_params & params) {
LOG_INF("%5s\t%-20s\t%11.2f\t%10.4f\t%10.4f\t%8.2f\t%8.2f\t%7d\t%12.4f\t%7.2f%%\t%6.2f%%\t%10.4f\n",
layer.c_str(),
name.c_str(),
tstat.sum_values,
tensor_calc_mode == 1 ? tstat.l2_norm : tstat.sum_values,
tstat.min_values,
tstat.max_values,
tstat.mean_values,