/external/webrtc/webrtc/modules/audio_processing/transient/ |
H A D | moving_moments_unittest.cc | 29 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 D | random_test.cc | 39 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 D | fused_batch_norm_op_test.cc | 57 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 D | chi2_test.py | 65 expected_mean = stats.chi2.mean(df_v) 68 self.assertAllClose(chi2.mean().eval(), expected_mean)
|
H A D | estimator_test.py | 98 expected_mean = logits[..., 0] 100 expected_mean,
|
H A D | kumaraswamy_test.py | 223 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 D | logistic_test.py | 124 expected_mean = stats.logistic.mean(loc, scale) 126 self.assertAllClose(dist.mean().eval(), expected_mean)
|
H A D | geometric_test.py | 244 expected_mean = stats.geom.mean(1., loc=-1) 246 self.assertAllClose(expected_mean, geom.mean().eval())
|
H A D | half_normal_test.py | 217 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 D | resample_test.py | 136 expected_mean = expected_sum / float(n * count) 138 expected_mean, 140 delta=(rtol * expected_mean))
|
H A D | training_test.py | 111 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 D | nn_batchnorm_test.py | 467 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 D | nn_test.py | 952 expected_mean = np.mean( 976 self.assertAllClose(mean, expected_mean, rtol=tol, atol=tol)
|
/external/tensorflow/tensorflow/contrib/layers/python/layers/ |
H A D | normalization_test.py | 121 expected_mean = np.zeros(reduced_shape) 142 self.assertAllClose(expected_mean, mean, rtol=tol, atol=tol)
|
H A D | layers_test.py | 1983 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 D | exponential_test.py | 91 expected_mean = stats.expon.mean(scale=1 / lam_v) 92 self.assertAllClose(exponential.mean().eval(), expected_mean)
|
H A D | dirichlet_test.py | 154 expected_mean = stats.dirichlet.mean(alpha) 155 self.assertAllClose(dirichlet.mean().eval(), expected_mean)
|
H A D | beta_test.py | 191 expected_mean = stats.beta.mean(a, b) 192 self.assertAllClose(expected_mean, dist.mean().eval())
|
/external/tensorflow/tensorflow/contrib/slim/python/slim/ |
H A D | learning_test.py | 280 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)
|