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

Method rehash

tensorflow/core/lib/gtl/flatmap.h:112–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110 void clear() { rep_.clear(); }
111 void reserve(size_t N) { rep_.Resize(std::max(N, size())); }
112 void rehash(size_t N) { rep_.Resize(std::max(N, size())); }
113 void resize(size_t N) { rep_.Resize(std::max(N, size())); }
114 size_t size() const { return rep_.size(); }
115 bool empty() const { return size() == 0; }

Callers 4

InitializeFromGraphMethod · 0.45
InitializeFromGraphMethod · 0.45
TESTFunction · 0.45
TESTFunction · 0.45

Calls 3

maxFunction · 0.50
sizeFunction · 0.50
ResizeMethod · 0.45

Tested by 2

TESTFunction · 0.36
TESTFunction · 0.36