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

Class KeyHash

tensorflow/core/framework/resource_mgr.h:226–230  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

224 private:
225 typedef std::pair<uint64, string> Key;
226 struct KeyHash {
227 std::size_t operator()(const Key& k) const {
228 return Hash64(k.second.data(), k.second.size(), k.first);
229 }
230 };
231 struct KeyEqual {
232 bool operator()(const Key& x, const Key& y) const {
233 return (x.second == y.second) && (x.first == y.first);

Callers 2

SendMethod · 0.85
RecvAsyncMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected