| 179 | } |
| 180 | |
| 181 | void 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 |
nothing calls this directly
no test coverage detected