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

Method Reserve

tensorflow/core/grappler/utils.h:98–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96 bool Empty() const { return vector_.empty(); }
97
98 void Reserve(int64 size) { vector_.reserve(size); }
99
100 private:
101 gtl::FlatSet<T, Hash> set_;

Callers 15

GetPythonOpsFunction · 0.45
FillMethod · 0.45
FillMethod · 0.45
AppendUninitializedMethod · 0.45
ExportMethod · 0.45
ApplyNodeUpdatesMethod · 0.45
SetNewNodesFaninsMethod · 0.45
UpdateSqueezeDimsMethod · 0.45
SimplifyArithmeticOpsMethod · 0.45
MergeCostsMethod · 0.45
ExecStepClass · 0.45

Calls 1

reserveMethod · 0.45

Tested by

no test coverage detected