code: def _test_write_out_and_reload(self, optimizer_cls):
      optimizer = optimizer_cls(
          l2_norm_clip=1.0, noise_multiplier=0.01, num_microbatches=1
      )
  
      test_dir = self.get_temp_dir()
      model_path = os.path.join(test_dir, "model")
  
      model = tf.keras.Sequential(
          [
              tf.keras.layers.InputLayer(input_shape=(1, 1)),
              tf.keras.layers.Dense(units=1, activation="softmax"),
          ]
      )
      model.compile(
          optimizer=optimizer,
          loss=tf.keras.losses.SparseCategoricalCrossentropy(
              from_logits=True
          ),
      )
  
      tf.keras.models.save_model(
          model, filepath=model_path, include_optimizer=True
      )
  
      optimizer_cls_str = optimizer_cls.__name__
      tf.keras.models.load_model(
          model_path, custom_objects={optimizer_cls_str: optimizer_cls}
      )
  
      return
  
imports: import os
  import unittest
  from absl.testing import parameterized
  import numpy
  import tensorflow
  from tensorflow import estimator
  from tensorflow.compat.v1 import estimator
  from tensorflow_privacy.privacy.dp_query import gaussian_query
  from tensorflow_privacy.privacy.optimizers import dp_optimizer
label_desc: Use image node_id 14 for calling the DPOptimizerTest obj's underlying member method code with example usage: obj._test_write_out_and_reload(optimizer_cls) without return types