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

Function ContainsKey

tensorflow/compiler/xla/map_util.h:98–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96// Returns true if and only if the given collection contains the given key.
97template <class Collection, class Key>
98bool ContainsKey(const Collection& collection, const Key& key) {
99 return collection.find(key) != collection.end();
100}
101
102// Inserts `value` into `set`. Dies if it was already present.
103template <class Set, class Value>

Callers 15

DeleteMarkedValuesMethod · 0.85
AddCompanionMethod · 0.85
CreateFromProtoMethod · 0.85
AddUserMethod · 0.85
AllUsersConsumeBF16Method · 0.85
RunMethod · 0.85
OutputTypeAfterChangeMethod · 0.85

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected