| 42 | } |
| 43 | |
| 44 | void ClearAttr(TF_Graph* graph, TF_Operation* op, const char* attr_name, |
| 45 | TF_Status* status) { |
| 46 | |
| 47 | mutex_lock l(graph->mu); |
| 48 | op->node.ClearAttr(attr_name); |
| 49 | RecordMutation(graph, *op, "clearing attribute"); |
| 50 | } |
| 51 | |
| 52 | void SetRequestedDevice(TF_Graph* graph, TF_Operation* op, const char* device) { |
| 53 | mutex_lock l(graph->mu); |
nothing calls this directly
no test coverage detected