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

Method device_count

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

Returns the number of devices known to the backend.

(self)

Source from the content-addressed store, hash-verified

59
60 @abc.abstractmethod
61 def device_count(self):
62 """Returns the number of devices known to the backend."""
63
64 @abc.abstractmethod
65 def local_device_count(self):

Callers 5

PyLocalClientMethod · 0.45
GetCpuClientFunction · 0.45
device_countMethod · 0.45
CreateBFCAllocatorFunction · 0.45
GetNvidiaGpuClientFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected