code: def test_serialization():
      optimizer = NovoGrad(
          lr=1e-4, weight_decay=0.0, grad_averaging=False
      )
      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/novograd_test.py
imports: import numpy
  import pytest
  import tensorflow
  from tensorflow_addons.optimizers import NovoGrad
label_desc: Use image node_id 11 for calling a global function with example usage: test_serialization() without return types