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.c159 double *mean_x, *mean_y, *var_x, *var_y; in aom_noise_data_validate() local
163 mean_x = (double *)aom_malloc(sizeof(*mean_x) * w); in aom_noise_data_validate()
165 mean_y = (double *)aom_malloc(sizeof(*mean_x) * h); in aom_noise_data_validate()
168 memset(mean_x, 0, sizeof(*mean_x) * w); in aom_noise_data_validate()
178 mean_x[x] += d; in aom_noise_data_validate()
203 mean_x[x] /= w; in aom_noise_data_validate()
204 var_x[x] = var_x[x] / w - mean_x[x] * mean_x[x]; in aom_noise_data_validate()
210 if (fabs(mean_x[x] - mean) >= kMeanThreshold) { in aom_noise_data_validate()
211 fprintf(stderr, "Mean distance too large %f %f\n", mean_x[x], mean); in aom_noise_data_validate()
217 aom_free(mean_x); in aom_noise_data_validate()
/external/tensorflow/tensorflow/python/ops/
Dnn_grad.py992 mean_x = math_ops.reduce_mean(x, reduce_axis, keepdims=keepdims)
994 math_ops.squared_difference(x, array_ops.stop_gradient(mean_x)),
998 x_offset = x - mean_x