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:88–88 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
86
virtual any& annotation() = 0;
87
88
int device_id() const { return data().device_id(); }
89
90
tensor& operator= (float val)
91
{
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