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

Function TF_ExtendGraph

tensorflow/c/c_api.cc:181–189  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

179}
180
181void TF_ExtendGraph(TF_DeprecatedSession* s, const void* proto,
182 size_t proto_len, TF_Status* status) {
183 GraphDef g;
184 if (!tensorflow::ParseProtoUnlimited(&g, proto, proto_len)) {
185 status->status = InvalidArgument("Invalid GraphDef");
186 return;
187 }
188 status->status = s->session->Extend(g);
189}
190
191} // end extern "C"
192

Callers

nothing calls this directly

Calls 3

ParseProtoUnlimitedFunction · 0.85
InvalidArgumentFunction · 0.85
ExtendMethod · 0.45

Tested by

no test coverage detected