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

Method Resize

tensorflow/core/lib/gtl/flatrep.h:234–240  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

232 }
233
234 void Resize(size_t N) {
235 Bucket* old = array_;
236 Bucket* old_end = end_;
237 Init(N);
238 CopyEntries(old, old_end, MoveEntry());
239 delete[] old;
240 }
241
242 private:
243 enum { kEmpty = 0, kDeleted = 1 }; // Special markers for an entry.

Callers 15

BatchDescriptorMethod · 0.45
FilterDescriptorMethod · 0.45
ConvolutionDescriptorMethod · 0.45
SetDefaultLayoutOnProtoFunction · 0.45
TEST_FFunction · 0.45
CreateFromProtoMethod · 0.45
TEST_FFunction · 0.45
ParseInstructionRhsMethod · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45

Calls 2

MoveEntryClass · 0.85
InitFunction · 0.50

Tested by 8

SetDefaultLayoutOnProtoFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
MakeDotFunction · 0.36
CreateCanonicalDotFunction · 0.36