Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepRec-AI/DeepRec
/ devices
Method
devices
tensorflow/compiler/xla/python/xla_client.py:69–70 ·
view source on GitHub ↗
Returns a list of `device_count()` Device subclasses.
(self)
Source
from the content-addressed store, hash-verified
67
68
@abc.abstractmethod
69
def
devices(self):
70
""
"Returns a list of `device_count()` Device subclasses."
""
71
72
@abc.abstractmethod
73
def
host_id(self):
Callers
15
XrtContext
Method · 0.45
GetExecuteReplicatedFunction
Method · 0.45
GetReceiverDevice
Function · 0.45
EnqueueSend
Function · 0.45
EnqueueRecv
Function · 0.45
AddDevicesToOp
Function · 0.45
Verify
Function · 0.45
ExpandReplicateIntoReplicas
Function · 0.45
HandleReplicatedInputs
Function · 0.45
HandleReplicateOp
Function · 0.45
multiple_tpus
Function · 0.45
AreDevicesCompatible
Method · 0.45
Calls
no outgoing calls
Tested by
5
multiple_tpus
Function · 0.36
testDestructureTupleEmpty
Method · 0.36
testDestructureTupleOneArrayElement
Method · 0.36
testDestructureTupleTwoArrayElementDifferentType
Method · 0.36
testDestructureTupleNested
Method · 0.36