MCPcopy Create free account
hub / github.com/deepspeedai/DeepSpeed / hasKey

Function hasKey

csrc/includes/deepcompile.h:33–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31
32template <typename K, typename V>
33static bool hasKey(const std::unordered_map<K, V>& map, const K& key)
34{
35 return map.find(key) != map.end();
36}
37
38template <typename T>
39inline std::string to_string(const T& v)

Callers 15

swapMethod · 0.85
getBufferMethod · 0.85
getEventMethod · 0.85
DSParamRegistryClass · 0.85
hasGatheredParamMethod · 0.85
isValidMethod · 0.85
hasParamMethod · 0.85
getExecutorFunction · 0.85
flushReduceBucketMethod · 0.85
allgatherParamMethod · 0.85
prefetchParamsFusedMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected