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

Function CombineHashes

tensorflow/lite/util.cc:50–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50size_t CombineHashes(std::initializer_list<size_t> hashes) {
51 size_t result = 0;
52 // Hash combiner used by TensorFlow core.
53 for (size_t hash : hashes) {
54 result = result ^
55 (hash + 0x9e3779b97f4a7800ULL + (result << 10) + (result >> 4));
56 }
57 return result;
58}
59
60TfLiteStatus GetSizeOfType(TfLiteContext* context, const TfLiteType type,
61 size_t* bytes) {

Callers 2

operator()Method · 0.85
operator()Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected