Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepRec-AI/DeepRec
/ count
Method
count
tensorflow/core/lib/gtl/flatmap.h:218–218 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
216
}
217
218
size_t count(const Key& k) const { return rep_.Find(k).found ? 1 : 0; }
219
iterator find(const Key& k) {
220
auto r = rep_.Find(k);
221
return r.found ? iterator(r.b, rep_.limit(), r.index) : end();
Callers
15
GetTimeStamp
Function · 0.45
main
Function · 0.45
CalculateFlops
Function · 0.45
gather_cpu_info
Function · 0.45
write_docs
Function · 0.45
_get_guides_markdown
Function · 0.45
generate_global_index
Function · 0.45
TestRemoveNodes
Method · 0.45
TestRemoveOutputNodes
Method · 0.45
TestRemoveChainedNodes
Method · 0.45
TestRemoveMultipleInputs
Method · 0.45
TestConstantFolding
Method · 0.45
Calls
1
Find
Method · 0.45
Tested by
15
GetTimeStamp
Function · 0.36
main
Function · 0.36
TestRemoveNodes
Method · 0.36
TestRemoveOutputNodes
Method · 0.36
TestRemoveChainedNodes
Method · 0.36
TestRemoveMultipleInputs
Method · 0.36
TestConstantFolding
Method · 0.36
TestReplaceSendRecvs
Method · 0.36
TestReplaceSendRecvsPrefixNames
Method · 0.36
TestRemoveUnusedNodes
Method · 0.36
TestSimpleTree
Method · 0.36
TestManyNodes
Method · 0.36