Home
last modified time | relevance | path

Searched refs:as_dict (Results 1 – 25 of 30) sorted by relevance

12

/external/tensorflow/tensorflow/python/distribute/
Dmulti_worker_util.py65 cluster_spec = normalize_cluster_spec(cluster_spec).as_dict()
92 cluster_spec = normalize_cluster_spec(cluster_spec).as_dict()
107 cluster_spec = normalize_cluster_spec(cluster_spec).as_dict()
145 cluster_spec = normalize_cluster_spec(cluster_spec).as_dict()
Ddistribute_coordinator.py99 return len(cluster_spec.as_dict().get(_TaskType.WORKER, [])) + len(
100 cluster_spec.as_dict().get(_TaskType.CHIEF, []))
371 cluster_spec).as_dict()
470 for task_id in range(len(cluster_spec.as_dict().get(task_type, []))):
773 cluster_spec.as_dict(), task_type, task_id, environment, rpc_layer)
Dmulti_worker_util_test.py31 server_lib.ClusterSpec(lhs).as_dict(),
32 server_lib.ClusterSpec(rhs).as_dict())
Dparameter_server_strategy.py110 if cluster_resolver.cluster_spec().as_dict():
147 assert cluster_spec.as_dict()
173 num_ps_replicas = len(cluster_spec.as_dict().get("ps", []))
202 "variable_device = %r", cluster_spec.as_dict(), task_type, task_id,
Destimator_training.py46 return len(cluster_spec.as_dict().get(PS, []))
55 return (len(cluster_spec.as_dict().get(WORKER, [])) + len(
56 cluster_spec.as_dict().get(chief_task_type, [])))
Dcollective_all_reduce_strategy.py101 if cluster_resolver.cluster_spec().as_dict():
214 "communication = %s", cluster_spec.as_dict(), task_type,
Dmirrored_strategy.py321 for task_id in range(len(cluster_spec.as_dict().get(task_type, []))):
415 if tfconfig.cluster_spec().as_dict():
/external/tensorflow/tensorflow/contrib/learn/python/learn/estimators/
Drun_config.py365 sorted(ordered_state['_cluster_spec'].as_dict().items(),
413 return len(cluster_spec.as_dict().get('ps', [])) if cluster_spec else 0
430 return (len(cluster_spec.as_dict().get('worker', [])) +
431 len(cluster_spec.as_dict().get('master', []))) if cluster_spec else 0
Drun_config_test.py78 self.assertEqual(config.cluster_spec.as_dict(), tf_config["cluster"])
340 self.assertEqual(tf_config["cluster"], config.cluster_spec.as_dict())
343 self.assertEqual(tf_config["cluster"], new_config.cluster_spec.as_dict())
/external/tensorflow/tensorflow/python/training/
Ddevice_setter.py196 cluster_spec = cluster.as_dict()
198 cluster_spec = server_lib.ClusterSpec(cluster).as_dict()
Dserver_lib.py327 key_values = self.as_dict()
332 def as_dict(self): member in ClusterSpec
Dserver_lib_test.py465 server_lib.ClusterSpec(cluster_spec.as_dict()).as_cluster_def())
487 server_lib.ClusterSpec(cluster_spec.as_dict()).as_cluster_def())
500 self.assertEqual(original_dict, cluster_spec.as_dict())
Ddevice_setter_test.py122 device_setter.replica_device_setter(cluster=self._cluster_spec.as_dict(
/external/tensorflow/tensorflow/python/distribute/cluster_resolver/
Dcluster_resolver.py359 cluster_dict = cluster_spec.as_dict()
376 cluster_dict = cluster_spec.as_dict()
Dkubernetes_cluster_resolver_test.py73 cluster_spec.as_dict()).as_cluster_def())
Dslurm_cluster_resolver_test.py45 server_lib.ClusterSpec(cluster_spec.as_dict()).as_cluster_def())
Dtfconfig_cluster_resolver_test.py45 server_lib.ClusterSpec(cluster_spec.as_dict()).as_cluster_def())
Dgce_cluster_resolver_test.py41 server_lib.ClusterSpec(cluster_spec.as_dict()).as_cluster_def())
Dcluster_resolver_test.py135 server_lib.ClusterSpec(cluster_spec.as_dict()).as_cluster_def())
Dtpu_cluster_resolver_test.py116 cluster_spec.as_dict()).as_cluster_def())
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.train.-cluster-spec.pbtxt18 name: "as_dict"
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.train.-cluster-spec.pbtxt18 name: "as_dict"
/external/chromium-trace/catapult/common/py_utils/py_utils/
Dmemory_debug.py34 pinfo = p.as_dict(attrs=['pid', 'name', 'memory_info'])
/external/tensorflow/tensorflow/contrib/distribute/python/
Dparameter_server_strategy_test.py410 num_workers = len(d.extended._cluster_spec.as_dict().get(WORKER))
411 if 'chief' in d.extended._cluster_spec.as_dict():
486 num_workers = len(d.extended._cluster_spec.as_dict().get(WORKER))
487 if CHIEF in d.extended._cluster_spec.as_dict():
/external/chromium-trace/catapult/devil/devil/android/tools/
Ddevice_recovery.py41 pinfo = p.as_dict(attrs=['pid', 'name', 'cmdline'])

12