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

Function FindOp

tensorflow/lite/toco/tooling_util.cc:255–263  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

253}
254
255std::vector<std::unique_ptr<Operator>>::const_iterator FindOp(
256 const Model& model, const Operator* op) {
257 for (auto it = model.operators.begin(); it != model.operators.end(); ++it) {
258 if (it->get() == op) {
259 return it;
260 }
261 }
262 return model.operators.end();
263}
264
265std::vector<std::unique_ptr<Operator>>::iterator FindOp(Model& model,
266 const Operator* op) {

Callers 4

FindOpMethod · 0.85
FindOpMethod · 0.85
DeleteOpAndArraysFunction · 0.85
RunMethod · 0.85

Calls 3

beginMethod · 0.45
endMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected