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

Method VariableAccessed

tensorflow/python/eager/pywrap_tfe_src.cc:1241–1245  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1239 }
1240
1241 void VariableAccessed(PyObject* v) {
1242 if (watch_accessed_variables_) {
1243 WatchVariable(v);
1244 }
1245 }
1246
1247 void WatchVariable(PyObject* v) {
1248 tensorflow::Safe_PyObjectPtr handle(PyObject_GetAttrString(v, "handle"));

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected