/external/tensorflow/tensorflow/python/distribute/ |
D | multi_worker_util.py | 140 cluster_spec = normalize_cluster_spec(cluster_spec).as_dict() 168 if not cluster_spec.as_dict(): 189 cluster_spec = normalize_cluster_spec(cluster_spec).as_dict() 227 cluster_spec = normalize_cluster_spec(cluster_spec).as_dict()
|
D | parameter_server_strategy_v2.py | 454 self._num_workers = len(cluster_spec.as_dict().get("worker", ())) 455 self._num_ps = len(cluster_spec.as_dict().get("ps", ())) 518 self._num_ps = len(cluster_resolver.cluster_spec().as_dict().get("ps", []))
|
D | distribute_coordinator.py | 99 return len(cluster_spec.as_dict().get(_TaskType.WORKER, [])) + len( 100 cluster_spec.as_dict().get(_TaskType.CHIEF, [])) 374 cluster_spec).as_dict() 473 for task_id in range(len(cluster_spec.as_dict().get(task_type, []))): 783 cluster_spec.as_dict(), task_type, task_id, environment, rpc_layer)
|
D | multi_worker_util_test.py | 31 server_lib.ClusterSpec(lhs).as_dict(), 32 server_lib.ClusterSpec(rhs).as_dict())
|
D | estimator_training.py | 46 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, [])))
|
D | multi_worker_test_base_test.py | 74 cluster_spec = self._cluster.cluster_resolver.cluster_spec().as_dict()
|
D | parameter_server_strategy.py | 222 assert cluster_spec.as_dict() 248 num_ps_replicas = len(cluster_spec.as_dict().get("ps", [])) 277 "variable_device = %r", cluster_spec.as_dict(), task_type, task_id,
|
D | mirrored_strategy.py | 91 for task_id in range(len(cluster_spec.as_dict().get(task_type, []))): 185 if tfconfig.cluster_spec().as_dict(): 316 if TFConfigClusterResolver().cluster_spec().as_dict():
|
D | parameter_server_strategy_test.py | 376 num_workers = len(d.extended._cluster_spec.as_dict().get(WORKER)) 377 if 'chief' in d.extended._cluster_spec.as_dict(): 442 num_workers = len(d.extended._cluster_spec.as_dict().get(WORKER)) 443 if CHIEF in d.extended._cluster_spec.as_dict():
|
D | collective_all_reduce_strategy.py | 335 if cluster_resolver.cluster_spec().as_dict(): 516 "communication = %s", cluster_spec.as_dict(), task_type, task_id,
|
/external/tensorflow/tensorflow/python/training/ |
D | device_setter.py | 204 cluster_spec = cluster.as_dict() 206 cluster_spec = server_lib.ClusterSpec(cluster).as_dict()
|
D | server_lib.py | 335 key_values = self.as_dict() 341 def as_dict(self): member in ClusterSpec
|
D | server_lib_test.py | 517 server_lib.ClusterSpec(cluster_spec.as_dict()).as_cluster_def()) 539 server_lib.ClusterSpec(cluster_spec.as_dict()).as_cluster_def()) 552 self.assertEqual(original_dict, cluster_spec.as_dict())
|
D | device_setter_test.py | 122 device_setter.replica_device_setter(cluster=self._cluster_spec.as_dict(
|
/external/tensorflow/tensorflow/tools/api/golden/v2/ |
D | tensorflow.train.-cluster-spec.pbtxt | 18 name: "as_dict"
|
/external/tensorflow/tensorflow/tools/api/golden/v1/ |
D | tensorflow.train.-cluster-spec.pbtxt | 18 name: "as_dict"
|
/external/tensorflow/tensorflow/python/distribute/cluster_resolver/tpu/ |
D | tpu_cluster_resolver_test.py | 123 server_lib.ClusterSpec(cluster_spec.as_dict()).as_cluster_def()) 457 }).as_dict(), 458 cluster_resolver.cluster_spec().as_dict())
|
/external/tensorflow/tensorflow/python/distribute/cluster_resolver/ |
D | cluster_resolver.py | 529 cluster_dict = cluster_spec.as_dict() 546 cluster_dict = cluster_spec.as_dict()
|
D | sagemaker_cluster_resolver_test.py | 44 server_lib.ClusterSpec(cluster_spec.as_dict()).as_cluster_def())
|
D | kubernetes_cluster_resolver_test.py | 73 cluster_spec.as_dict()).as_cluster_def())
|
D | slurm_cluster_resolver_test.py | 62 server_lib.ClusterSpec(cluster_spec.as_dict()).as_cluster_def())
|
D | tfconfig_cluster_resolver_test.py | 46 server_lib.ClusterSpec(cluster_spec.as_dict()).as_cluster_def())
|
D | gce_cluster_resolver_test.py | 41 server_lib.ClusterSpec(cluster_spec.as_dict()).as_cluster_def())
|
/external/chromium-trace/catapult/common/py_utils/py_utils/ |
D | memory_debug.py | 34 pinfo = p.as_dict(attrs=['pid', 'name', 'memory_info'])
|
/external/chromium-trace/catapult/devil/devil/android/tools/ |
D | device_recovery.py | 44 pinfo = p.as_dict(attrs=['pid', 'name', 'cmdline'])
|