Searched refs:expected_mode (Results 1 – 11 of 11) sorted by relevance
/external/tensorflow/tensorflow/contrib/distributions/python/kernel_tests/ |
D | kumaraswamy_test.py | 240 expected_mode = _kumaraswamy_mode(a, b) 243 self.assertAllClose(expected_mode, dist.mode().eval()) 265 expected_mode = _kumaraswamy_mode(a, b) 266 expected_mode[0] = np.nan 268 self.assertAllClose(expected_mode, dist.mode().eval()) 274 expected_mode = _kumaraswamy_mode(a, b) 275 expected_mode[0] = np.nan 277 self.assertAllClose(expected_mode, dist.mode().eval())
|
D | batch_reshape_test.py | 123 expected_mode = array_ops.reshape( 145 expected_mode, actual_mode, 246 expected_mode = array_ops.reshape( 268 expected_mode, actual_mode, 370 expected_mode = array_ops.reshape( 399 expected_mode, actual_mode,
|
/external/python/cpython2/Lib/test/ |
D | test_dumbdbm.py | 51 expected_mode = 0635 55 expected_mode = 0666 59 self.assertEqual(stat.S_IMODE(st.st_mode), expected_mode) 61 self.assertEqual(stat.S_IMODE(st.st_mode), expected_mode)
|
/external/tensorflow/tensorflow/python/kernel_tests/distributions/ |
D | beta_test.py | 198 expected_mode = (a - 1) / (a + b - 2) 201 self.assertAllClose(expected_mode, self.evaluate(dist.mode())) 221 expected_mode = (a - 1) / (a + b - 2) 222 expected_mode[0] = np.nan 224 self.assertAllClose(expected_mode, self.evaluate(dist.mode())) 230 expected_mode = (a - 1) / (a + b - 2) 231 expected_mode[0] = np.nan 233 self.assertAllClose(expected_mode, self.evaluate(dist.mode()))
|
D | dirichlet_test.py | 218 expected_mode = (alpha - 1) / (np.sum(alpha) - 3) 221 self.assertAllClose(self.evaluate(dirichlet.mode()), expected_mode) 234 expected_mode = np.zeros_like(alpha) + np.nan 237 self.assertAllClose(self.evaluate(dirichlet.mode()), expected_mode)
|
/external/python/cpython3/Lib/test/ |
D | test_uu.py | 225 expected_mode = 0o444 227 f.write(encodedtextwrapped(expected_mode, self.tmpout)) 230 self.addCleanup(os.chmod, self.tmpout, expected_mode | stat.S_IWRITE) 237 expected_mode
|
D | test_dbm_dumb.py | 52 expected_mode = 0o635 56 expected_mode = 0o666 60 self.assertEqual(stat.S_IMODE(st.st_mode), expected_mode) 62 self.assertEqual(stat.S_IMODE(st.st_mode), expected_mode)
|
/external/libchrome/base/memory/ |
D | platform_shared_memory_region_posix.cc | 35 bool CheckFDAccessMode(int fd, int expected_mode) { in CheckFDAccessMode() argument 43 if (mode != expected_mode) { in CheckFDAccessMode() 45 << ") differs from expected (" << expected_mode << ")"; in CheckFDAccessMode()
|
/external/autotest/client/cros/crash/ |
D | user_crash_test.py | 321 expected_mode = 0o700 333 if mode != expected_mode: 336 (crash_dir, expected_mode, mode))
|
/external/webrtc/webrtc/voice_engine/test/auto_test/standard/ |
D | audio_processing_test.cc | 60 webrtc::EcModes expected_mode) { in TryEnablingEcWithMode() argument 68 EXPECT_EQ(expected_mode, ec_mode); in TryEnablingEcWithMode()
|
/external/libbrillo/brillo/streams/ |
D | fake_stream_unittest.cc | 468 Stream::AccessMode expected_mode) { in TEST_F() argument 470 EXPECT_EQ(static_cast<int>(expected_mode), static_cast<int>(mode)); in TEST_F()
|