Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepRec-AI/DeepRec
/ local_devices
Method
local_devices
tensorflow/compiler/xla/python/xla_client.py:129–130 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
127
return
self.client.devices()
128
129
def
local_devices(self):
130
return
self.client.local_devices()
131
132
def
host_id(self):
133
return
self.client.host_id()
Callers
10
buffer_from_pyval
Method · 0.95
LookupDeviceOrdinal
Function · 0.45
testMakeTuple
Method · 0.45
testTupleShape
Method · 0.45
testDevice
Method · 0.45
transfer_to_infeed
Function · 0.45
transfer_from_outfeed
Function · 0.45
put
Function · 0.45
execute_with_python_values_replicated
Function · 0.45
DeviceForDLContext
Function · 0.45
Calls
no outgoing calls
Tested by
3
testMakeTuple
Method · 0.36
testTupleShape
Method · 0.36
testDevice
Method · 0.36