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

Function GetMapped

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

Source from the content-addressed store, hash-verified

43
44template <class V>
45auto GetMapped(V&& v, Rank0) -> decltype((std::forward<V>(v).second)) {
46 return std::forward<V>(v).second;
47}
48template <class V>
49auto GetMapped(V&& v, Rank1) -> decltype(std::forward<V>(v).value()) {
50 return std::forward<V>(v).value();

Callers 1

EraseKeyReturnValuePtrFunction · 0.85

Calls 2

Rank0Class · 0.85
valueMethod · 0.45

Tested by

no test coverage detected