Home
last modified time | relevance | path

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

12

/external/tensorflow/tensorflow/python/distribute/cluster_resolver/
Dcluster_resolver_test.py66 self.assertEqual(resolver.num_accelerators(), {"GPU": 4})
90 self.assertEqual(resolver.num_accelerators(), {"TPU": 4, "GPU": 4})
114 self.assertEqual(resolver.num_accelerators(task_type="worker1", task_id=0),
116 self.assertEqual(resolver.num_accelerators(task_type="worker2", task_id=3),
118 self.assertEqual(resolver.num_accelerators(task_type="worker2", task_id=4),
163 num_accelerators={"GPU": 8},
169 self.assertEqual(simple_resolver.num_accelerators(), {"GPU": 8})
180 num_accelerators={"GPU": 8},
228 num_accelerators={"GPU": 8},
237 num_accelerators={"GPU": 16},
[all …]
Dcluster_resolver.py125 def num_accelerators(self, member in ClusterResolver
186 environment='', num_accelerators=None, argument
195 self._num_accelerators = num_accelerators
251 def num_accelerators(self, member in SimpleClusterResolver
443 def num_accelerators(self, member in UnionClusterResolver
447 return self._cluster_resolvers[0].num_accelerators(
Dtfconfig_cluster_resolver.py115 def num_accelerators(self, member in TFConfigClusterResolver
121 return super(TFConfigClusterResolver, self).num_accelerators(
Dtfconfig_cluster_resolver_test.py284 self.assertEqual(resolver.num_accelerators(), {'TPU': 2, 'GPU': 2})
287 self.assertEqual(resolver.num_accelerators(task_type='worker2', task_id=3),
Dslurm_cluster_resolver.py220 def num_accelerators(self, member in SlurmClusterResolver
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.distribute.cluster_resolver.-simple-cluster-resolver.pbtxt24 …_spec\', \'master\', \'task_type\', \'task_id\', \'environment\', \'num_accelerators\', \'rpc_laye…
35 name: "num_accelerators"
Dtensorflow.distribute.cluster_resolver.-cluster-resolver.pbtxt21 name: "num_accelerators"
Dtensorflow.distribute.cluster_resolver.-kubernetes-cluster-resolver.pbtxt23 name: "num_accelerators"
Dtensorflow.distribute.cluster_resolver.-slurm-cluster-resolver.pbtxt27 name: "num_accelerators"
Dtensorflow.distribute.cluster_resolver.-union-resolver.pbtxt35 name: "num_accelerators"
Dtensorflow.distribute.cluster_resolver.-t-f-config-cluster-resolver.pbtxt35 name: "num_accelerators"
Dtensorflow.distribute.cluster_resolver.-g-c-e-cluster-resolver.pbtxt35 name: "num_accelerators"
Dtensorflow.distribute.cluster_resolver.-t-p-u-cluster-resolver.pbtxt31 name: "num_accelerators"
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.distribute.cluster_resolver.-simple-cluster-resolver.pbtxt24 …_spec\', \'master\', \'task_type\', \'task_id\', \'environment\', \'num_accelerators\', \'rpc_laye…
35 name: "num_accelerators"
Dtensorflow.distribute.cluster_resolver.-cluster-resolver.pbtxt21 name: "num_accelerators"
Dtensorflow.distribute.cluster_resolver.-kubernetes-cluster-resolver.pbtxt23 name: "num_accelerators"
Dtensorflow.distribute.cluster_resolver.-slurm-cluster-resolver.pbtxt27 name: "num_accelerators"
Dtensorflow.distribute.cluster_resolver.-union-resolver.pbtxt35 name: "num_accelerators"
Dtensorflow.distribute.cluster_resolver.-t-f-config-cluster-resolver.pbtxt35 name: "num_accelerators"
Dtensorflow.distribute.cluster_resolver.-g-c-e-cluster-resolver.pbtxt35 name: "num_accelerators"
Dtensorflow.distribute.cluster_resolver.-t-p-u-cluster-resolver.pbtxt31 name: "num_accelerators"
/external/tensorflow/tensorflow/python/distribute/
Dcollective_all_reduce_strategy.py116 num_gpus = cluster_resolver.num_accelerators().get("GPU", 0)
160 num_gpus = cluster_resolver.num_accelerators().get("GPU", 0)
377 num_accelerators={"GPU": self._num_gpus_per_worker},
Dparameter_server_strategy.py135 num_gpus = cluster_resolver.num_accelerators().get("GPU", 0)
216 num_gpus = cluster_resolver.num_accelerators().get("GPU", 0)
487 num_accelerators={"GPU": self._num_gpus_per_worker})
/external/tensorflow/tensorflow/contrib/distribute/python/
Dcollective_all_reduce_strategy.py81 num_accelerators={"GPU": num_gpus_per_worker},
Dparameter_server_strategy.py161 num_accelerators={'GPU': num_gpus_per_worker})

12