MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / GetKey

Function GetKey

tensorflow/core/lib/gtl/subtle/map_traits.h:36–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34
35template <class V>
36auto GetKey(V&& v, Rank0) -> decltype((std::forward<V>(v).first)) {
37 return std::forward<V>(v).first;
38}
39template <class V>
40auto GetKey(V&& v, Rank1) -> decltype(std::forward<V>(v).key()) {
41 return std::forward<V>(v).key();

Callers 4

HloReachabilityMapMethod · 0.85
ReplaceMethod · 0.85
IsPresentMethod · 0.85
GetIndexMethod · 0.85

Calls 2

Rank0Class · 0.85
keyMethod · 0.45

Tested by

no test coverage detected