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

Function ThreadTapeIsStopped

tensorflow/python/eager/pywrap_tfe_src.cc:1496–1499  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1494};
1495
1496bool* ThreadTapeIsStopped() {
1497 thread_local bool thread_tape_is_stopped{false};
1498 return &thread_tape_is_stopped;
1499}
1500
1501void TFE_Py_TapeSetStopOnThread() { *ThreadTapeIsStopped() = true; }
1502

Callers 11

TFE_Py_TapeSetIsStoppedFunction · 0.85
TFE_Py_TapeSetIsEmptyFunction · 0.85
TapeCouldPossiblyRecordFunction · 0.85
TFE_Py_TapeWatchFunction · 0.85
TFE_Py_TapeWatchVariableFunction · 0.85
TFE_Py_FastPathExecute_CFunction · 0.85
TFE_Py_RecordGradientFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected