/external/tensorflow/tensorflow/python/keras/distribute/ |
D | multi_worker_callback_tf1_test.py | 125 def callableForTestChiefOnlyCallback(model, test_obj, train_ds, num_epoch, argument 144 test_obj.assertTrue(cb.filtered_correctly) 148 model, test_obj, train_ds, num_epoch, steps, strategy, saving_filepath, argument 159 test_obj.get_temp_dir(), 'checkpoint_%s_%d%s' % 163 test_obj.assertFalse(training_state.checkpoint_exists(saving_filepath)) 172 test_obj.assertEqual( 176 def initialFitting(test_obj, model, train_ds, num_epoch, steps, argument 179 test_obj.assertFalse(training_state.checkpoint_exists(saving_filepath)) 193 test_obj.assertTrue(training_state.checkpoint_exists(saving_filepath)) 200 test_obj.assertTrue(training_state.checkpoint_exists(saving_filepath)) [all …]
|
D | multi_worker_callback_tf2_test.py | 35 def _model_setup(test_obj, file_format): argument 59 saving_filepath = os.path.join(test_obj.get_temp_dir(), 75 test_obj, file_format): argument 78 test_obj, file_format) 87 test_obj.get_temp_dir(), 'checkpoint_%s_%d%s' % 91 test_obj.assertFalse(training_state.checkpoint_exists(saving_filepath)) 103 test_obj.assertEqual( 115 def proc_tensorboard_saves_on_chief_but_not_otherwise(test_obj): argument 116 model, _, train_ds, steps = _model_setup(test_obj, file_format='') 124 test_obj.get_temp_dir(), 'logfile_%s_%d' % [all …]
|
D | multi_worker_fault_tolerance_test.py | 174 def __init__(self, test_obj): argument 176 self.test_obj = test_obj 180 self.test_obj.assertEqual(
|
/external/chromium-trace/catapult/devil/devil/android/ |
D | decorators_test.py | 282 test_obj = self._MethodDecoratorTestObject(self) 286 test_obj.alwaysTimesOut(timeout=1, retries=0) 292 self.assertEquals(1, test_obj.function_call_counters['alwaysTimesOut']) 296 test_obj = self._MethodDecoratorTestObject(self) 299 test_obj.alwaysRaisesCommandFailedError(retries=10) 304 11, test_obj.function_call_counters['alwaysRaisesCommandFailedError']) 308 test_obj = self._MethodDecoratorTestObject( 310 self.assertEquals(42, test_obj.alwaysReturnsTimeout()) 311 self.assertEquals(41, test_obj.alwaysReturnsTimeout(timeout=41)) 312 self.assertEquals(31, test_obj.alwaysReturnsRetries()) [all …]
|
/external/tensorflow/tensorflow/python/autograph/pyct/ |
D | inspect_utils_test.py | 398 test_obj = TestClass() 400 inspect_utils.getmethodclass(test_obj.member_function), 403 inspect_utils.getmethodclass(test_obj.decorated_member), 406 inspect_utils.getmethodclass(test_obj.fn_decorated_member), 409 inspect_utils.getmethodclass(test_obj.wrap_decorated_member), 412 inspect_utils.getmethodclass(test_obj.static_method), 415 inspect_utils.getmethodclass(test_obj.class_method), 456 test_obj = LocalClass() 458 inspect_utils.getmethodclass(test_obj.member_function), 461 inspect_utils.getmethodclass(test_obj.decorated_member), [all …]
|
/external/autotest/client/common_lib/ |
D | powerplay_util.py | 19 def __init__(self, test_obj, record_interval=0): argument 25 self.test = test_obj
|
/external/autotest/client/site_tests/platform_TLSDate/ |
D | platform_TLSDate.py | 19 def __init__(self, test_obj): argument 25 self._test_obj = test_obj
|
/external/tensorflow/tensorflow/python/distribute/ |
D | multi_worker_test_base.py | 208 test_obj=None): argument 210 del test_obj 232 def skip_if_grpc_server_cant_be_started(test_obj): argument 238 test_obj.test_skipped_reason = reason 239 test_obj.skipTest(reason)
|
D | multi_process_runner_test.py | 32 def proc_func_that_adds_task_type_in_return_data(test_obj, val): argument 33 test_obj.assertEqual(val, 3)
|
/external/tensorflow/tensorflow/python/autograph/impl/ |
D | conversion_test.py | 110 test_obj = TestClass() 118 weakref.ref(test_obj), test_obj.member_function))
|
/external/tensorflow/tensorflow/python/util/ |
D | tf_inspect_test.py | 275 test_obj = Callable() 276 self.assertEqual(argspec, tf_inspect.getargspec(test_obj)) 456 test_obj = Callable() 457 self.assertEqual(argspec, tf_inspect.getfullargspec(test_obj))
|
/external/tensorflow/tensorflow/python/training/tracking/ |
D | tracking_test.py | 298 test_obj = MyObject() 302 results = pool.map(test_obj.get_test_property, range(64)) 311 results = pool.map(test_obj.get_test_property, range(4))
|
/external/autotest/server/cros/dynamic_suite/ |
D | suite.py | 392 test_obj = self._afe.create_job( 411 test_obj.test_name = test.name 412 return test_obj
|
/external/tensorflow/tensorflow/python/keras/engine/ |
D | base_layer_test.py | 961 test_obj = self 966 with test_obj.assertRaisesRegex(TypeError, 'Tensor.*as.*bool'):
|