| 21 | namespace tensorflow { |
| 22 | |
| 23 | void 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 | |
| 29 | void SetAttr(TF_Graph* graph, TF_Operation* op, const char* attr_name, |
| 30 | TF_Buffer* attr_value_proto, TF_Status* status) { |
nothing calls this directly
no test coverage detected