Home
last modified time | relevance | path

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

12

/external/tensorflow/tensorflow/python/distribute/
Dmulti_worker_util.py76 cluster_spec = normalize_cluster_spec(cluster_spec).as_dict()
125 cluster_spec = normalize_cluster_spec(cluster_spec).as_dict()
153 if not cluster_spec.as_dict():
174 cluster_spec = normalize_cluster_spec(cluster_spec).as_dict()
212 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, []))
374 cluster_spec).as_dict()
473 for task_id in range(len(cluster_spec.as_dict().get(task_type, []))):
776 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())
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, [])))
Dparameter_server_strategy.py203 assert cluster_spec.as_dict()
230 num_ps_replicas = len(cluster_spec.as_dict().get("ps", []))
259 "variable_device = %r", cluster_spec.as_dict(), task_type, task_id,
Dparameter_server_strategy_test.py371 num_workers = len(d.extended._cluster_spec.as_dict().get(WORKER))
372 if 'chief' in d.extended._cluster_spec.as_dict():
437 num_workers = len(d.extended._cluster_spec.as_dict().get(WORKER))
438 if CHIEF in d.extended._cluster_spec.as_dict():
Dcollective_all_reduce_strategy.py179 if cluster_resolver.cluster_spec().as_dict():
345 "communication = %s", cluster_spec.as_dict(), task_type,
Dmirrored_strategy.py244 for task_id in range(len(cluster_spec.as_dict().get(task_type, []))):
338 if tfconfig.cluster_spec().as_dict():
458 if TFConfigClusterResolver().cluster_spec().as_dict():
/external/tensorflow/tensorflow/python/training/
Ddevice_setter.py204 cluster_spec = cluster.as_dict()
206 cluster_spec = server_lib.ClusterSpec(cluster).as_dict()
Dserver_lib.py330 key_values = self.as_dict()
336 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/
Dbrain_jobs_cluster_resolver_test.py40 server_lib.ClusterSpec(cluster_spec.as_dict()).as_cluster_def())
Dtpu_cluster_resolver_test.py123 server_lib.ClusterSpec(cluster_spec.as_dict()).as_cluster_def())
457 }).as_dict(),
458 cluster_resolver.cluster_spec().as_dict())
Dcluster_resolver.py353 cluster_dict = cluster_spec.as_dict()
370 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.py46 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.py136 server_lib.ClusterSpec(cluster_spec.as_dict()).as_cluster_def())
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.train.-cluster-spec.pbtxt18 name: "as_dict"
/external/tensorflow/tensorflow/tools/api/golden/v1/
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/chromium-trace/catapult/devil/devil/android/tools/
Ddevice_recovery.py46 pinfo = p.as_dict(attrs=['pid', 'name', 'cmdline'])
/external/protobuf/python/google/protobuf/internal/
Dmessage_test.py1942 as_dict = {}
1944 self.assertFalse(key in as_dict)
1945 as_dict[key] = msg2.map_int32_foreign_message[key].c
1947 self.assertEqual({111: 5, 222: 10}, as_dict)

12