Add intermediate computation variables and Pearson

This commit is contained in:
Ed Addario 2026-01-11 17:34:05 +00:00
parent 776e2632d3
commit 6d82fa825a
No known key found for this signature in database
GPG Key ID: E7875815A3230993
1 changed files with 5 additions and 0 deletions

View File

@ -56,7 +56,12 @@ struct tensor_statistics {
float entropy = 0.0f;
float zd_score = 0.0f;
float cossim = 0.0f;
float pearson = 0.0f;
float l2_dist = 0.0f;
double dot_prod = 0.0;
double norm1_sq = 0.0;
double norm2_sq = 0.0;
double l2_dist_sq = 0.0;
};
class IMatrixCollector {