class_docstr: The state used for constructing the gradient graph for a while loop.
  
  We create a _GradLoopState for each while loop in forward and its
  corresponding while loop in backprop. This gives us access to both
  the forward and the backprop WhileContexts.
  
  During the construction of gradient graph, any time when we detect
  a forward value that is needed for backprop, we create a history
  accumulator and add it to `history_map`. Any time when we backprop
  a loop switch op (in _SwitchGrad), we add the grad merge op in
  `switch_map`.
class_docstr_tok: ["The","state","used","for","constructing","the","gradient","graph","for","a","while","loop",".","We","create","a","_GradLoopState","for","each","while","loop","in","forward","and","its","corresponding","while","loop","in","backprop",".","This","gives","us","access","to","both","the","forward","and","the","backprop","WhileContexts",".","During","the","construction","of","gradient","graph",",","any","time","when","we","detect","a","forward","value","that","is","needed","for","backprop",",","we","create","a","history","accumulator","and","add","it","to","`","history_map","`",".","Any","time","when","we","backprop","a","loop","switch","op","(","in","_SwitchGrad",")",",","we","add","the","grad","merge","op","in","`","switch_map","`","."]
docstr: The list of exits of the forward loop.
docstr_tok: ["The","list","of","exits","of","the","forward","loop","."]
code: def forward_loop_exits(self):
      """The list of exits of the forward loop."""
      return self._forward_loop_exits
  
imports: from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import tensor_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import control_flow_ops
  from tensorflow.python.ops import control_flow_util
  from tensorflow.python.ops import control_flow_v2_func_graphs
  from tensorflow.python.ops import default_gradient
  from tensorflow.python.ops import gen_data_flow_ops
  from tensorflow.python.ops import gen_resource_variable_ops
  from tensorflow.python.ops import resource_variable_ops
label_desc: Use image node_id 13 for calling the _GradLoopState obj's underlying member method code with example usage: obj.forward_loop_exits() and returns: self