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

Function TFE_Py_TapeVariableAccessed

tensorflow/python/eager/pywrap_tfe_src.cc:1784–1791  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1782}
1783
1784void TFE_Py_TapeVariableAccessed(PyObject* variable) {
1785 if (*ThreadTapeIsStopped()) {
1786 return;
1787 }
1788 for (TFE_Py_Tape* tape : SafeTapeSet()) {
1789 tape->tape->VariableAccessed(variable);
1790 }
1791}
1792
1793void TFE_Py_TapeWatchVariable(PyObject* tape, PyObject* variable) {
1794 if (*ThreadTapeIsStopped()) {

Callers 1

Calls 2

ThreadTapeIsStoppedFunction · 0.85
VariableAccessedMethod · 0.80

Tested by

no test coverage detected