Struct faiss::MatrixStats::PerDimStats
-
struct PerDimStats
Public Functions
-
void add(float x)
-
void compute_mean_std()
Public Members
-
size_t n = 0
counts of various special entries
-
size_t n_nan = 0
-
size_t n_inf = 0
-
size_t n0 = 0
-
float min = HUGE_VALF
to get min/max and stddev values
-
float max = -HUGE_VALF
-
double sum = 0
-
double sum2 = 0
-
size_t n_valid = 0
-
double mean = NAN
-
double stddev = NAN
-
void add(float x)