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

Function HasMainOp

serving/processor/serving/util.cc:144–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142}
143
144bool HasMainOp(const MetaGraphDef& meta_graph_def) {
145 const auto& collection_def_map = meta_graph_def.collection_def();
146 return collection_def_map.find(kSavedModelMainOpKey) !=
147 collection_def_map.end();
148}
149
150Status RunIncrRestoreCheckpoint(
151 const RunOptions& run_options,

Callers 2

RunRestoreOpsMethod · 0.85
CreateModelSessionMethod · 0.85

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected