예제 #1
0
def _must_record_gradient():
  return not pywrap_tfe.TFE_Py_TapeSetIsEmpty()
예제 #2
0
파일: tape.py 프로젝트: MFChunga/poo
def could_possibly_record():
    """Returns True if any tape is active."""
    return not pywrap_tfe.TFE_Py_TapeSetIsEmpty()