Home
last modified time | relevance | path

Searched refs:new_config (Results 1 – 13 of 13) sorted by relevance

/external/python/cpython3/Python/
Dpathconfig.c58 _PyPathConfig new_config = _PyPathConfig_INIT; in _PyPathConfig_Init() local
65 err = _PyPathConfig_Calculate(&new_config, core_config); in _PyPathConfig_Init()
67 _PyPathConfig_Clear(&new_config); in _PyPathConfig_Init()
73 new_config.home = _PyMem_RawWcsdup(core_config->home); in _PyPathConfig_Init()
74 if (new_config.home == NULL) { in _PyPathConfig_Init()
80 new_config.home = NULL; in _PyPathConfig_Init()
83 new_config.program_name = _PyMem_RawWcsdup(core_config->program_name); in _PyPathConfig_Init()
84 if (new_config.program_name == NULL) { in _PyPathConfig_Init()
90 _Py_path_config = new_config; in _PyPathConfig_Init()
143 _PyPathConfig new_config; in Py_SetPath() local
[all …]
/external/tensorflow/tensorflow/contrib/learn/python/learn/estimators/
Drun_config_test.py261 new_config = config.replace(model_dir=ANOTHER_TEST_DIR)
262 self.assertEqual(ANOTHER_TEST_DIR, new_config.model_dir)
263 self.assertEqual(RANDOM_SEED, new_config.tf_random_seed)
275 new_config = config.replace(model_dir=ANOTHER_TEST_DIR)
277 self.assertNotEqual(expected_uid, new_config.uid())
278 self.assertEqual(ANOTHER_TEST_DIR, new_config.model_dir)
288 new_config = config.replace(model_dir=ANOTHER_TEST_DIR)
290 self.assertEqual(expected_uid, new_config.uid(whitelist))
291 self.assertEqual(ANOTHER_TEST_DIR, new_config.model_dir)
311 new_config = run_config_lib.RunConfig(
[all …]
/external/tensorflow/tensorflow/python/keras/
Doptimizers_test.py62 new_config = keras.optimizers.serialize(optim)
63 new_config['class_name'] = new_config['class_name'].lower()
64 new_config['config'].pop('name', None)
66 new_config['config'].pop('amsgrad', None)
67 if 'decay' in new_config['config'] and 'schedule_decay' in config['config']:
68 new_config['config']['schedule_decay'] = new_config['config'].pop('decay')
70 new_config['config'].pop('momentum', None)
72 new_config['config'].pop('centered', None)
73 self.assertDictEqual(config, new_config)
Dmetrics_test.py1378 new_config = bce_obj2.get_config()
1379 self.assertDictEqual(old_config, new_config)
1498 new_config = cce_obj2.get_config()
1499 self.assertDictEqual(old_config, new_config)
1623 new_config = scce_obj2.get_config()
1624 self.assertDictEqual(old_config, new_config)
Dmetrics_confusion_matrix_test.py974 new_config = auc_obj2.get_config()
975 self.assertDictEqual(old_config, new_config)
/external/tensorflow/tensorflow/contrib/learn/python/learn/
Dlearn_runner_test.py301 new_config = run_config_lib.RunConfig(model_dir=_MODIR_DIR + "/123")
303 return TestExperiment(config=new_config)
315 new_config = core_run_config_lib.RunConfig(
318 return TestExperiment(config=new_config)
/external/python/cpython3/Lib/idlelib/idle_test/
Dtest_config.py217 def new_config(self, _utest=False): member in IdleConfTest
237 conf = self.new_config(_utest=True)
260 conf = self.new_config(_utest=True)
281 conf = self.new_config(_utest=True)
308 conf = self.new_config(_utest=True)
417 conf = self.new_config(_utest=True)
/external/tensorflow/tensorflow/contrib/distribute/python/
Dcollective_all_reduce_strategy_test.py468 new_config = strategy.update_config_proto(config_proto)
472 new_config.experimental.collective_group_leader)
475 self.assertEqual(['/job:worker/task:1'], new_config.device_filters)
478 new_rewrite_options = new_config.graph_options.rewrite_options
Dparameter_server_strategy_test.py788 new_config = strategy.update_config_proto(config_proto)
792 new_config.device_filters)
795 self.assertFalse(new_config.isolate_session_state)
804 new_config = strategy.update_config_proto(config_proto)
807 self.assertTrue(new_config.isolate_session_state)
Dmirrored_strategy_multigpu_test.py1521 new_config = distribution.update_config_proto(config_proto)
1524 self.assertTrue(new_config.isolate_session_state)
/external/webrtc/talk/app/webrtc/
Dpeerconnection.cc1839 InternalDataChannelInit new_config = in InternalCreateDataChannel() local
1842 if (new_config.id < 0) { in InternalCreateDataChannel()
1845 !sid_allocator_.AllocateSid(role, &new_config.id)) { in InternalCreateDataChannel()
1849 } else if (!sid_allocator_.ReserveSid(new_config.id)) { in InternalCreateDataChannel()
1857 session_.get(), session_->data_channel_type(), label, new_config)); in InternalCreateDataChannel()
1859 sid_allocator_.ReleaseSid(new_config.id); in InternalCreateDataChannel()
/external/webrtc/webrtc/modules/desktop_capture/
Dscreen_capturer_mac.mm394 MacDesktopConfiguration new_config =
396 if (!desktop_config_.Equals(new_config)) {
397 desktop_config_ = new_config;
/external/perfetto/src/tracing/core/
Dtracing_service_impl.cc2755 const TraceConfig& new_config) in TracingSession() argument
2759 config(new_config) {} in TracingSession()