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

Function TFE_Py_TapeSetIsEmpty

tensorflow/python/eager/pywrap_tfe_src.cc:1532–1537  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1530}
1531
1532PyObject* TFE_Py_TapeSetIsEmpty() {
1533 if (*ThreadTapeIsStopped() || !HasTape()) {
1534 Py_RETURN_TRUE;
1535 }
1536 Py_RETURN_FALSE;
1537}
1538
1539void TFE_Py_TapeSetRemove(PyObject* tape) {
1540 auto* stack = GetTapeSet();

Callers

nothing calls this directly

Calls 1

ThreadTapeIsStoppedFunction · 0.85

Tested by

no test coverage detected