code: def test_keras_optimizer_injected(self):
      save_path = test.test_src_dir_path(
          "cc/saved_model/testdata/OptimizerSlotVariableModule"
      )
      _ = tf.saved_model.load(save_path)
      # Make sure keras optimizers are registed without accessing keras code
      # when loading a model with optimizers
      self.assertIn(
          "optimizer",
          tf.__internal__.saved_model.load.registered_identifiers(),
      )
  
imports: import tensorflow
  from tensorflow.python.eager import test
label_desc: Use image node_id 1 for calling the KerasInjectionTest obj's underlying member method code with example usage: obj.test_keras_optimizer_injected() without return types