Home
last modified time | relevance | path

Searched refs:mean_x (Results 1 – 2 of 2) sorted by relevance

/external/libaom/libaom/aom_dsp/
Dnoise_util.c157 double *mean_x, *mean_y, *var_x, *var_y; in aom_noise_data_validate() local
161 mean_x = (double *)aom_malloc(sizeof(*mean_x) * w); in aom_noise_data_validate()
163 mean_y = (double *)aom_malloc(sizeof(*mean_x) * h); in aom_noise_data_validate()
166 memset(mean_x, 0, sizeof(*mean_x) * w); in aom_noise_data_validate()
176 mean_x[x] += d; in aom_noise_data_validate()
201 mean_x[x] /= w; in aom_noise_data_validate()
202 var_x[x] = var_x[x] / w - mean_x[x] * mean_x[x]; in aom_noise_data_validate()
208 if (fabs(mean_x[x] - mean) >= kMeanThreshold) { in aom_noise_data_validate()
209 fprintf(stderr, "Mean distance too large %f %f\n", mean_x[x], mean); in aom_noise_data_validate()
215 aom_free(mean_x); in aom_noise_data_validate()
/external/tensorflow/tensorflow/python/ops/
Dnn_grad.py951 mean_x = math_ops.reduce_mean(x, reduce_axis, keepdims=keepdims)
953 math_ops.squared_difference(x, array_ops.stop_gradient(mean_x)),
957 x_offset = x - mean_x