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

Function Encode

tensorflow/core/framework/hash_table/hash_table.cc:578–580  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

576}
577
578int64 Encode(int64 key, int64 index) {
579 return (key & kIndexBase) | (index << kIndexLen);
580}
581
582int64 Decode(int64 key) {
583 return (key & kIndexBase);

Callers 2

MakeReviserFnMethod · 0.70
AsProtoTensorContentMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected