Searched refs:expected_mean (Results 1 - 19 of 19) sorted by relevance

/external/webrtc/webrtc/modules/audio_processing/transient/
H A Dmoving_moments_unittest.cc29 const float* expected_mean,
45 const float* expected_mean,
55 EXPECT_NEAR(expected_mean[i], output_mean_[i], kTolerance);
64 const float expected_mean[kInputLength] = {0.f, 0.f, 0.f, 0.f, 0.f}; local
67 CalculateMomentsAndVerify(kInput, kInputLength, expected_mean,
75 const float expected_mean[kInputLength] = local
80 CalculateMomentsAndVerify(kInput, kInputLength, expected_mean,
88 const float expected_mean[kInputLength] = local
93 CalculateMomentsAndVerify(kInput, kInputLength, expected_mean,
102 const float expected_mean[kInputLengt local
43 CalculateMomentsAndVerify( const float* input, size_t input_length, const float* expected_mean, const float* expected_mean_squares) argument
118 const float expected_mean[kInputLength] = local
132 const float expected_mean[kInputLength] = local
[all...]
/external/tensorflow/tensorflow/contrib/boosted_trees/lib/utils/
H A Drandom_test.cc39 const double expected_mean = 1.0; // lambda local
42 EXPECT_NEAR(mean, expected_mean, 3 * mean_std_error);
/external/tensorflow/tensorflow/core/kernels/
H A Dfused_batch_norm_op_test.cc57 Tensor expected_mean(allocator(), DT_FLOAT, TensorShape({2}));
58 test::FillValues<float>(&expected_mean, {10, 10});
59 test::ExpectTensorNear<float>(expected_mean, *GetOutput(1), 0.01);
/external/tensorflow/tensorflow/contrib/distributions/python/kernel_tests/
H A Dchi2_test.py65 expected_mean = stats.chi2.mean(df_v)
68 self.assertAllClose(chi2.mean().eval(), expected_mean)
H A Destimator_test.py98 expected_mean = logits[..., 0]
100 expected_mean,
H A Dkumaraswamy_test.py223 expected_mean = _kumaraswamy_moment(a, b, 1)
224 self.assertAllClose(expected_mean, dist.mean().eval())
312 expected_mean = _kumaraswamy_moment(a, b, 1)
313 self.assertAllClose(sample_values.mean(axis=0), expected_mean, atol=1e-2)
H A Dlogistic_test.py124 expected_mean = stats.logistic.mean(loc, scale)
126 self.assertAllClose(dist.mean().eval(), expected_mean)
H A Dgeometric_test.py244 expected_mean = stats.geom.mean(1., loc=-1)
246 self.assertAllClose(expected_mean, geom.mean().eval())
H A Dhalf_normal_test.py217 expected_mean = scale * np.sqrt(2.0) / np.sqrt(np.pi)
220 self.assertAllEqual(expected_mean, halfnorm.mean().eval())
/external/tensorflow/tensorflow/contrib/training/python/training/
H A Dresample_test.py136 expected_mean = expected_sum / float(n * count)
138 expected_mean,
140 delta=(rtol * expected_mean))
H A Dtraining_test.py111 expected_mean = np.mean(self._inputs, axis=(0))
137 # After 10 updates with decay 0.1 moving_mean == expected_mean and
139 self.assertAllClose(mean, expected_mean)
/external/tensorflow/tensorflow/python/ops/
H A Dnn_batchnorm_test.py467 expected_mean = np.sum(x_numpy, axis=ax,
469 expected_mean_squared = np.multiply(expected_mean, expected_mean)
477 expected_mean, mean.eval(feed_dict={x: x_numpy}))
498 expected_mean = np.sum(x_numpy, axis=ax,
500 expected_mean_squared = np.multiply(expected_mean, expected_mean)
507 self.assertAllCloseAccordingToType(expected_mean, mean.eval())
671 expected_mean = _np_weighted_sum(x_numpy) / weight_sum
672 expected_mean_squared = np.multiply(expected_mean, expected_mea
[all...]
H A Dnn_test.py952 expected_mean = np.mean(
976 self.assertAllClose(mean, expected_mean, rtol=tol, atol=tol)
/external/tensorflow/tensorflow/contrib/layers/python/layers/
H A Dnormalization_test.py121 expected_mean = np.zeros(reduced_shape)
142 self.assertAllClose(expected_mean, mean, rtol=tol, atol=tol)
H A Dlayers_test.py1983 expected_mean = np.mean(image_values, axis=axis)
2007 # In this case moving_mean == expected_mean after each update
2008 self.assertAllClose(moving_mean.eval(), expected_mean)
2010 # After 10 updates with decay 0.1 moving_mean == expected_mean,
2011 # biased == expected_mean and moving_variance == expected_var.
2012 self.assertAllClose(moving_mean.eval(), expected_mean)
2014 self.assertAllClose(biased.eval(), expected_mean)
2033 expected_mean = np.mean(image_values, axis=axis)
2061 # In this case moving_mean == expected_mean after update
2062 self.assertAllClose(moving_mean.eval(), expected_mean)
[all...]
/external/tensorflow/tensorflow/python/kernel_tests/distributions/
H A Dexponential_test.py91 expected_mean = stats.expon.mean(scale=1 / lam_v)
92 self.assertAllClose(exponential.mean().eval(), expected_mean)
H A Ddirichlet_test.py154 expected_mean = stats.dirichlet.mean(alpha)
155 self.assertAllClose(dirichlet.mean().eval(), expected_mean)
H A Dbeta_test.py191 expected_mean = stats.beta.mean(a, b)
192 self.assertAllClose(expected_mean, dist.mean().eval())
/external/tensorflow/tensorflow/contrib/slim/python/slim/
H A Dlearning_test.py280 expected_mean = np.mean(self._inputs, axis=(0))
307 # After 10 updates with decay 0.1 moving_mean == expected_mean and
309 self.assertAllClose(mean, expected_mean)

Completed in 553 milliseconds