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

Function AddWhileInputHack

tensorflow/c/python_api.cc:171–182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

169}
170
171void AddWhileInputHack(TF_Graph* graph, TF_Output new_src, TF_Operation* dst,
172 TF_Status* status) {
173 mutex_lock l(graph->mu);
174 status->status = graph->graph.AddWhileInputHack(&new_src.oper->node,
175 new_src.index, &dst->node);
176 if (TF_GetCode(status) == TF_OK) {
177 // This modification only updates the destination node for
178 // the purposes of running this graph in a session. Thus, we don't
179 // record the source node as being modified.
180 RecordMutation(graph, *dst, "adding input tensor");
181 }
182}
183
184} // namespace tensorflow

Callers

nothing calls this directly

Calls 3

TF_GetCodeFunction · 0.85
RecordMutationFunction · 0.85
AddWhileInputHackMethod · 0.80

Tested by

no test coverage detected