parameters: (self, var, name)
return_statement: return named_slots.get(_var_key(var), None)
docstring: Return a slot named `name` created for `var` by the Optimizer.
  
      Some `Optimizer` subclasses use additional variables.  For example
      `Momentum` and `Adagrad` use variables to accumulate updates.  This method
      gives access to these `Variable` objects if for some reason you need them.
  
      Use `get_slot_names()` to get the list of slot names created by the
      `Optimizer`.
  
      Args:
        var: A variable passed to `minimize()` or `apply_gradients()`.
        name: A string.
  
      Returns:
        The `Variable` for the slot if it was created, `None` otherwise.
docstring_summary: Return a slot named `name` created for `var` by the Optimizer.
docstring_tokens: Return a slot named name created for var by the Optimizer .
function: def get_slot(self, var, name):
      """Return a slot named `name` created for `var` by the Optimizer.
  
      Some `Optimizer` subclasses use additional variables.  For example
      `Momentum` and `Adagrad` use variables to accumulate updates.  This method
      gives access to these `Variable` objects if for some reason you need them.
  
      Use `get_slot_names()` to get the list of slot names created by the
      `Optimizer`.
  
      Args:
        var: A variable passed to `minimize()` or `apply_gradients()`.
        name: A string.
  
      Returns:
        The `Variable` for the slot if it was created, `None` otherwise.
      """
      named_slots = self._slots.get(name, None)
      if not named_slots:
        return None
      return named_slots.get(_var_key(var), None)
function_tokens: def get_slot ( self , var , name ) : named_slots = self . _slots . get ( name , None ) if not named_slots : return None return named_slots . get ( _var_key ( var ) , None )