MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / hosts

Method hosts

tensorflow/python/tpu/tpu_embedding.py:633–639  ·  view source on GitHub ↗

A list of device names for CPU hosts. Returns: A list of device names for CPU hosts.

(self)

Source from the content-addressed store, hash-verified

631
632 @property
633 def hosts(self):
634 """A list of device names for CPU hosts.
635
636 Returns:
637 A list of device names for CPU hosts.
638 """
639 return copy.copy(self._hosts)
640
641 # TODO(shizhiw): change to num_tensor_cores_per_host to be more explicit and
642 # to be consistent with `tpu_embedding_configuration.proto`.

Callers

nothing calls this directly

Calls 1

copyMethod · 0.45

Tested by

no test coverage detected