Home
last modified time | relevance | path

Searched refs:num_of_cores_per_host (Results 1 – 5 of 5) sorted by relevance

/external/tensorflow/tensorflow/python/tpu/
Dtpu_system_metadata.py111 num_of_cores_per_host = 0
119 num_of_cores_per_host = num_cores_per_host_set.pop()
143 num_of_cores_per_host=num_of_cores_per_host,
152 metadata.num_of_cores_per_host)
Dtpu_context.py343 def num_of_cores_per_host(self): member in _InternalTPUContext
345 return metadata.num_of_cores_per_host
358 return self.num_of_cores_per_host
542 host_id = replica_id / self.num_of_cores_per_host
558 num_of_cores_per_host = self.num_of_cores_per_host
559 host_id = i / num_of_cores_per_host
560 ordinal_id = i % num_of_cores_per_host
585 return shard_index_in_host % self.num_of_cores_per_host
625 num_cores_per_host = self._get_tpu_system_metadata().num_of_cores_per_host
723 num_of_cores_per_host=1,
Dtpu_embedding.py352 self._num_cores_per_host = self._tpu_system_metadata.num_of_cores_per_host
Dtpu_estimator.py739 num_cores_per_host = ctx.num_of_cores_per_host
746 invocation_index=host_id * ctx.num_of_cores_per_host + core_ordinal)
/external/tensorflow/tensorflow/python/distribute/
Dtpu_strategy.py537 return self._tpu_metadata.num_of_cores_per_host
544 max_models_per_host = (self._tpu_metadata.num_of_cores_per_host //