code: def from_config(cls, config, custom_objects=None):
      optimizer = tf.keras.optimizers.deserialize(
          config.pop("optimizer"), custom_objects=custom_objects
      )
      return cls(optimizer, **config)
  
imports: import abc
  import warnings
  import tensorflow
  from tensorflow_addons.optimizers import KerasLegacyOptimizer
  from tensorflow_addons.utils import types
  from typeguard import typechecked
label_desc: Use image node_id 13 for calling the AveragedOptimizerWrapper obj's underlying member method code with example usage: obj.from_config(cls, config, custom_objects) and returns: cls