Searched refs:expected_var (Results 1 – 8 of 8) sorted by relevance
/external/tensorflow/tensorflow/contrib/layers/python/layers/ |
D | layers_test.py | 1807 def _addBesselsCorrection(self, sample_size, expected_var): argument 1809 expected_var *= correction_factor 1810 return expected_var, correction_factor 2020 expected_var = np.var(image_values, axis=axis) 2049 self.assertAllClose(moving_variance.eval(), expected_var) 2070 expected_var = np.var(image_values, axis=axis) 2073 expected_var, _ = self._addBesselsCorrection( 2074 batch_size * height * width, expected_var) 2104 self.assertAllClose(variance, expected_var) 2154 expected_var = np.var(image_values, axis=axis) [all …]
|
D | normalization_test.py | 122 expected_var = np.ones(reduced_shape) 143 self.assertAllClose(expected_var, var, rtol=tol, atol=tol) 350 expected_var = np.ones(reduced_shape) 373 self.assertAllClose(expected_var, var, rtol=tol, atol=tol)
|
/external/tensorflow/tensorflow/contrib/slim/python/slim/ |
D | learning_test.py | 269 def _addBesselsCorrection(self, sample_size, expected_var): argument 271 expected_var *= correction_factor 272 return expected_var 281 expected_var = np.var(self._inputs, axis=(0)) 282 expected_var = self._addBesselsCorrection(16, expected_var) 310 self.assertAllClose(variance, expected_var)
|
/external/tensorflow/tensorflow/python/kernel_tests/distributions/ |
D | student_t_test.py | 353 expected_var = [ 356 self.assertAllClose(expected_var, var) 369 expected_var = [ 372 self.assertAllClose(expected_var, var)
|
/external/tensorflow/tensorflow/core/util/tensor_bundle/ |
D | tensor_bundle_test.cc | 92 Variant expected_var = expected_t.flat<Variant>()(i); in ExpectVariant() local 93 EXPECT_EQ(actual_var.TypeName(), expected_var.TypeName()); in ExpectVariant() 95 auto* expected_val = expected_var.get<T>(); in ExpectVariant()
|
/external/tensorflow/tensorflow/contrib/training/python/training/ |
D | training_test.py | 113 expected_var = np.var(self._inputs, axis=(0)) 141 self.assertAllClose(variance, expected_var)
|
/external/tensorflow/tensorflow/python/keras/layers/ |
D | normalization_test.py | 535 expected_var = np.ones(expected_shape) 566 self.assertAllClose(expected_var, var, atol=tol)
|
/external/tensorflow/tensorflow/python/ops/ |
D | nn_test.py | 1061 expected_var = np.var( 1084 self.assertAllClose(variance, expected_var, rtol=tol, atol=tol)
|