예제 #1
0
def push_new_tape(persistent=False, watch_accessed_variables=True):
    """Pushes a new tape onto the tape stack."""
    tape = pywrap_tensorflow.TFE_Py_TapeSetNew(persistent,
                                               watch_accessed_variables)
    return Tape(tape)
예제 #2
0
def push_new_tape(persistent=False):
  """Pushes a new tape onto the tape stack."""
  tape = pywrap_tensorflow.TFE_Py_TapeSetNew(persistent)
  return Tape(tape)