class_docstr: A class for Tensorflow specific optimizer logic.
  
  The major behavior change for this class is for tf.distribute.
  
  It will override methods from base Keras core Optimizer,
  which provide distribute specific functionality, e.g. variable
  creation, loss reduction, etc.
class_docstr_tok: ["A","class","for","Tensorflow","specific","optimizer","logic",".","The","major","behavior","change","for","this","class","is","for","tf.distribute",".","It","will","override","methods","from","base","Keras","core","Optimizer",",","which","provide","distribute","specific","functionality",",","e.g",".","variable","creation",",","loss","reduction",",","etc","."]
code: def __init__(self, *args, **kwargs):
      super().__init__(*args, **kwargs)
      self._distribution_strategy = tf.distribute.get_strategy()
  
file_path: keras/keras/backend/tensorflow/optimizer.py
imports: import tensorflow
  from keras import backend
  from keras.backend.common import KerasVariable
  from keras.optimizers import base_optimizer
label_desc: Use image node_id 1 to create a new TFOptimizer object from inherited base classes: base_optimizer with example: obj = TFOptimizer()