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

Method EraseArray

tensorflow/lite/toco/model.h:2358–2358  ·  view source on GitHub ↗

Note that this invalidates all array iterators.

Source from the content-addressed store, hash-verified

2356
2357 // Note that this invalidates all array iterators.
2358 void EraseArray(const string& name) { arrays.erase(name); }
2359 void EraseArrays(std::function<bool(const string&)> discardable) {
2360 for (auto it = arrays.begin(); it != arrays.end();) {
2361 if (discardable(it->first)) {

Callers 15

DeleteArrayIfUnusedFunction · 0.80
FixNoOrphanedArrayFunction · 0.80
DedupeConstantArraysFunction · 0.80
RunMethod · 0.80
RunMethod · 0.80
RunMethod · 0.80
RunMethod · 0.80
RunMethod · 0.80
RunMethod · 0.80
RunMethod · 0.80
RunMethod · 0.80

Calls 1

eraseMethod · 0.45

Tested by

no test coverage detected