class_docstr: GradientTape using the unified API.
class_docstr_tok: ["GradientTape","using","the","unified","API","."]
code: def __init__(self, persistent=False):
      self._c_tape = _tape.Tape(persistent)
      ctx = context_stack.get_default()
      self._tape_context = _tape.TapeContext(
          ctx, self._c_tape, gradient_registry.get_global_registry()
      )
      self._ctx_manager = None
  
file_path: tensorflow/tensorflow/python/framework/experimental/tape.py
imports: from tensorflow.python.framework.experimental import _tape
  from tensorflow.python.framework.experimental import context_stack
  from tensorflow.python.framework.experimental import gradient_registry
  from tensorflow.python.util import nest
label_desc: Use image node_id 1 to create a new GradientTape object from inherited base classes: object with example: obj = GradientTape(persistent)