MCPcopy 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
97std::string GetDeviceTag(const Device& device) { return device.type(); }
98
99template<class T1, class T2>
100const std::pair<std::vector<T1>, std::vector<T2>> Unzip(const of::HashMap<T1, T2>& hash_map) {

Callers 1

AddOpMethod · 0.85

Calls 1

typeMethod · 0.45

Tested by

no test coverage detected