| 1791 | } |
| 1792 | |
| 1793 | void TFE_Py_TapeWatchVariable(PyObject* tape, PyObject* variable) { |
| 1794 | if (*ThreadTapeIsStopped()) { |
| 1795 | return; |
| 1796 | } |
| 1797 | reinterpret_cast<TFE_Py_Tape*>(tape)->tape->WatchVariable(variable); |
| 1798 | } |
| 1799 | |
| 1800 | PyObject* TFE_Py_TapeWatchedVariables(PyObject* tape) { |
| 1801 | return reinterpret_cast<TFE_Py_Tape*>(tape)->tape->GetVariablesAsPyTuple(); |
nothing calls this directly
no test coverage detected