code: def test_serialization():
      learning_rate = 0.1
      lambda_ = 0.1
      ord = "nuclear"
      optimizer = cg_lib.ConditionalGradient(
          learning_rate=learning_rate, lambda_=lambda_, ord=ord
      )
      config = tf.keras.optimizers.serialize(optimizer)
      new_optimizer = tf.keras.optimizers.deserialize(config)
      assert optimizer.get_config() == new_optimizer.get_config()
  
imports: import numpy
  import pytest
  import platform
  import tensorflow
  from tensorflow_addons.utils import test_utils
  from tensorflow_addons.optimizers import conditional_gradient
label_desc: Use image node_id 21 for calling a global function with example usage: test_serialization() without return types