code: def test_serialization():
      optimizer = ProximalAdagrad(
          lr=1e-4,
          initial_accumulator_value=0.1,
          l1_regularization_strength=0.1,
          l2_regularization_strength=0.1,
      )
      config = tf.keras.optimizers.serialize(optimizer)
      new_optimizer = tf.keras.optimizers.deserialize(config)
      assert new_optimizer.get_config() == optimizer.get_config()
  
file_path: addons/tensorflow_addons/optimizers/tests/proximal_adagrad_test.py
imports: import numpy
  import tensorflow
  from tensorflow_addons.optimizers import ProximalAdagrad
label_desc: Use image node_id 8 for calling a global function with example usage: test_serialization() without return types