Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Oneflow-Inc/oneflow
/ GetDeviceTag
Function
GetDeviceTag
oneflow/api/cpp/framework/graph.cpp:97–97 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
95
}
96
97
std::string GetDeviceTag(const Device& device) { return device.type(); }
98
99
template<class T1, class T2>
100
const std::pair<std::vector<T1>, std::vector<T2>> Unzip(const of::HashMap<T1, T2>& hash_map) {
Callers
1
AddOp
Method · 0.85
Calls
1
type
Method · 0.45
Tested by
no test coverage detected