parameters: (self, limit)
return_statement: return gen_state_ops.resource_count_up_to(self.handle, limit=limit,
                                                T=self.dtype)
docstring: Increments this variable until it reaches `limit`.
  
      When that Op is run it tries to increment the variable by `1`. If
      incrementing the variable would bring it above `limit` then the Op raises
      the exception `OutOfRangeError`.
  
      If no error is raised, the Op outputs the value of the variable before
      the increment.
  
      This is essentially a shortcut for `count_up_to(self, limit)`.
  
      Args:
        limit: value at which incrementing the variable raises an error.
  
      Returns:
        A `Tensor` that will hold the variable value before the increment. If no
        other Op modifies this variable, the values produced will all be
        distinct.
docstring_summary: Increments this variable until it reaches `limit`.
docstring_tokens: Increments this variable until it reaches limit .
function: def count_up_to(self, limit):
      """Increments this variable until it reaches `limit`.
  
      When that Op is run it tries to increment the variable by `1`. If
      incrementing the variable would bring it above `limit` then the Op raises
      the exception `OutOfRangeError`.
  
      If no error is raised, the Op outputs the value of the variable before
      the increment.
  
      This is essentially a shortcut for `count_up_to(self, limit)`.
  
      Args:
        limit: value at which incrementing the variable raises an error.
  
      Returns:
        A `Tensor` that will hold the variable value before the increment. If no
        other Op modifies this variable, the values produced will all be
        distinct.
      """
      return gen_state_ops.resource_count_up_to(self.handle, limit=limit,
                                                T=self.dtype)
function_tokens: def count_up_to ( self , limit ) : return gen_state_ops . resource_count_up_to ( self . handle , limit = limit , T = self . dtype )