class_docstr: An optimizer that averages gradients across TPU shards.
docstr: Forwarding the variables from the underlying optimizer.
docstr_tok: ["Forwarding","the","variables","from","the","underlying","optimizer","."]
code: def variables(self):
      """Forwarding the variables from the underlying optimizer."""
      return self._opt.variables()
  
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 7 for calling the CrossShardOptimizer obj's underlying member method code with example usage: obj.variables() and returns: self