Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepRec-AI/DeepRec
/ device_count
Method
device_count
tensorflow/compiler/xrt/client/xrt_client.cc:511–511 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
509
}
510
511
int XrtContext::device_count() const { return tf_device_ids_.size(); }
512
513
static Status RegisterTPUInitializeFunction(XrtTfContext* context) {
514
FunctionDef fdef;
Callers
7
NewDevice
Method · 0.45
CreateDevices
Method · 0.45
gpu_device.cc
File · 0.45
CreateDevices
Method · 0.45
CreateDevices
Method · 0.45
MakeGRPCCluster
Function · 0.45
MakeTestCluster
Method · 0.45
Calls
1
size
Method · 0.45
Tested by
2
MakeGRPCCluster
Function · 0.36
MakeTestCluster
Method · 0.36