Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/davisking/dlib
/ device_id
Method
device_id
dlib/cuda/tensor.h:76–76 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
74
virtual any& annotation() = 0;
75
76
int device_id() const { return data().device_id(); }
77
78
tensor& operator= (float val)
79
{
Callers
3
raii_set_device
Method · 0.45
operator()
Method · 0.45
enable_peer_access
Method · 0.45
Calls
1
data
Class · 0.50
Tested by
no test coverage detected