Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
578
int64 Encode(int64 key, int64 index) {
579
return (key & kIndexBase) | (index << kIndexLen);
580
}
581
582
int64 Decode(int64 key) {
583
return (key & kIndexBase);
Callers
2
MakeReviserFn
Method · 0.70
AsProtoTensorContent
Method · 0.50
Calls
no outgoing calls
Tested by
no test coverage detected