class_docstr: Optimizer that implements the Yogi algorithm in Keras.
  
  See Algorithm 2 of
  https://papers.nips.cc/paper/8186-adaptive-methods-for-nonconvex-optimization.pdf.
class_docstr_tok: ["Optimizer","that","implements","the","Yogi","algorithm","in","Keras",".","See","Algorithm","2","of","https",":","\/\/papers.nips.cc\/paper\/8186-adaptive-methods-for-nonconvex-optimization.pdf","."]
docstr: See `tf.train.Optimizer._create_slots()`.
docstr_tok: ["See","`","tf.train.Optimizer._create_slots","(",")","`","."]
code: def _create_slots(self, var_list):
      """See `tf.train.Optimizer._create_slots()`."""
      # Create slots for the first and second moments, and maximum second moments.
      for var in var_list:
          init = tf.constant_initializer(
              self._initial_accumulator_value
          )
          self.add_slot(var, "v", init)
          if self._beta1 > 0.0:
              self.add_slot(var, "m")
  
file_path: addons/tensorflow_addons/optimizers/yogi.py
imports: import tensorflow
  from tensorflow_addons.utils.types import FloatTensorLike
  from tensorflow_addons.optimizers import KerasLegacyOptimizer
  from typeguard import typechecked
  from typing import Union, Callable
label_desc: Use image node_id 2 for calling the Yogi obj's underlying member method code with example usage: obj._create_slots(var_list) without return types