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

Function ClearAttr

tensorflow/c/python_api.cc:44–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42}
43
44void 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
52void SetRequestedDevice(TF_Graph* graph, TF_Operation* op, const char* device) {
53 mutex_lock l(graph->mu);

Callers

nothing calls this directly

Calls 2

RecordMutationFunction · 0.85
ClearAttrMethod · 0.80

Tested by

no test coverage detected