Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepRec-AI/DeepRec
/ device_count
Method
device_count
tensorflow/compiler/xla/python/xla_client.py:120–121 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
118
self.client = client
119
120
def
device_count(self):
121
return
self.client.device_count()
122
123
def
local_device_count(self):
124
return
self.client.local_device_count()
Callers
nothing calls this directly
Calls
1
device_count
Method · 0.45
Tested by
no test coverage detected