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

Method Size

tensorflow/core/framework/hash_table/hash_table.cc:57–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55}
56
57int64 HashTable::IdsContainer::Size() {
58 int64 ret = 0;
59 ret += id_list_.size();
60 for (auto iter = region_list_.begin(); iter != region_list_.end(); ++iter) {
61 ret += (iter->end - iter->start);
62 }
63 return ret;
64}
65
66void HashTable::IdsContainer::Clear() {
67 id_list_.clear();

Callers 4

TaskQueueSizeMethod · 0.45
GetIdsMethod · 0.45
TESTFunction · 0.45
TESTFunction · 0.45

Calls 3

sizeMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by 2

TESTFunction · 0.36
TESTFunction · 0.36