class_docstr: An optimizer that averages gradients across TPU shards.
docstr: Return a list of the names of slots created by the `Optimizer`.
  
  This simply wraps the get_slot_names() from the actual optimizer.
  
  Args:
    *args: Arguments for get_slot().
    **kwargs: Keyword arguments for get_slot().
  
  Returns:
    A list of strings.
docstr_tok: ["Return","a","list","of","the","names","of","slots","created","by","the","`","Optimizer","`",".","This","simply","wraps","the","get_slot_names","(",")","from","the","actual","optimizer",".","Args",":","*","args",":","Arguments","for","get_slot","(",")",".","*","*","kwargs",":","Keyword","arguments","for","get_slot","(",")",".","Returns",":","A","list","of","strings","."]
code: def get_slot_names(self, *args, **kwargs):
      """Return a list of the names of slots created by the `Optimizer`.
  
      This simply wraps the get_slot_names() from the actual optimizer.
  
      Args:
        *args: Arguments for get_slot().
        **kwargs: Keyword arguments for get_slot().
  
      Returns:
        A list of strings.
      """
      return self._opt.get_slot_names(*args, **kwargs)
  
file_path: tensorflow-upstream/tensorflow/python/tpu/tpu_optimizer.py
imports: from tensorflow.python.framework import ops
  from tensorflow.python.ops.losses import losses
  from tensorflow.python.platform import tf_logging
  from tensorflow.python.tpu import tpu_function
  from tensorflow.python.tpu.ops import tpu_ops
  from tensorflow.python.training import optimizer
  from tensorflow.python.util.tf_export import tf_export
label_desc: Use image node_id 6 for calling the CrossShardOptimizer obj's underlying member method code with example usage: obj.get_slot_names() and returns: self