Home
last modified time | relevance | path

Searched refs:expected_var (Results 1 – 8 of 8) sorted by relevance

/external/tensorflow/tensorflow/contrib/layers/python/layers/
Dlayers_test.py1807 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 …]
Dnormalization_test.py122 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/
Dlearning_test.py269 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/
Dstudent_t_test.py353 expected_var = [
356 self.assertAllClose(expected_var, var)
369 expected_var = [
372 self.assertAllClose(expected_var, var)
/external/tensorflow/tensorflow/core/util/tensor_bundle/
Dtensor_bundle_test.cc92 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/
Dtraining_test.py113 expected_var = np.var(self._inputs, axis=(0))
141 self.assertAllClose(variance, expected_var)
/external/tensorflow/tensorflow/python/keras/layers/
Dnormalization_test.py535 expected_var = np.ones(expected_shape)
566 self.assertAllClose(expected_var, var, atol=tol)
/external/tensorflow/tensorflow/python/ops/
Dnn_test.py1061 expected_var = np.var(
1084 self.assertAllClose(variance, expected_var, rtol=tol, atol=tol)