parameters: (self, op, before)
docstring: Enter the WhileContext for gradient computation.
docstring_summary: Enter the WhileContext for gradient computation.
docstring_tokens: Enter the WhileContext for gradient computation .
function: def EnterGradWhileContext(self, op, before):
      """Enter the WhileContext for gradient computation."""
      grad_state = self.GetGradState(op, before)
      if grad_state:
        grad_state.grad_context.Enter()
function_tokens: def EnterGradWhileContext ( self , op , before ) : grad_state = self . GetGradState ( op , before ) if grad_state : grad_state . grad_context . Enter ( )