Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepRec-AI/DeepRec
/ Swap
Method
Swap
tensorflow/core/kernels/incr_save_restore_ops.h:63–66 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
61
}
62
63
void Swap(std::unordered_map<T, uint64>& out) {
64
mutex_lock l(lock_);
65
hash_map_.swap(out);
66
}
67
68
void GetKeys(std::set<T>& key_set) {
69
mutex_lock l(lock_);
Callers
nothing calls this directly
Calls
1
swap
Method · 0.45
Tested by
no test coverage detected