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

Method CreateOptionalArray

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

Source from the content-addressed store, hash-verified

2347 return result;
2348 }
2349 void CreateOptionalArray(const string& name) {
2350 DCHECK(!arrays.count(name) && !optional_arrays.count(name));
2351 optional_arrays.insert(name);
2352 }
2353 bool IsOptionalArray(const string& name) const {
2354 return optional_arrays.count(name);
2355 }

Callers 4

CreateOptionalArrayFunction · 0.80
ImportOperatorsFunction · 0.80

Calls 2

countMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected