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

Method local_device_count

tensorflow/compiler/xla/python/xla_client.py:65–66  ·  view source on GitHub ↗

Returns the number of devices local to this host.

(self)

Source from the content-addressed store, hash-verified

63
64 @abc.abstractmethod
65 def local_device_count(self):
66 """Returns the number of devices local to this host."""
67
68 @abc.abstractmethod
69 def devices(self):

Callers 3

LookupDeviceOrdinalFunction · 0.45
FromHostBufferMethod · 0.45
local_device_countMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected