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

Function AddControlInput

tensorflow/c/python_api.cc:23–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21namespace tensorflow {
22
23void AddControlInput(TF_Graph* graph, TF_Operation* op, TF_Operation* input) {
24 mutex_lock l(graph->mu);
25 graph->graph.AddControlEdge(&input->node, &op->node);
26 RecordMutation(graph, *op, "adding control input");
27}
28
29void SetAttr(TF_Graph* graph, TF_Operation* op, const char* attr_name,
30 TF_Buffer* attr_value_proto, TF_Status* status) {

Callers

nothing calls this directly

Calls 2

RecordMutationFunction · 0.85
AddControlEdgeMethod · 0.45

Tested by

no test coverage detected