code: def test_clipnorm_indexed_slices(self):
      # https://github.com/keras-team/keras/issues/18985
      model = keras.Sequential(
          [
              keras.layers.Embedding(10, 4),
              keras.layers.Flatten(),
              keras.layers.Dense(2),
          ]
      )
      model.compile(optimizer=Adam(clipnorm=100), loss="mse")
      x = keras.ops.ones((8, 5))
      y = keras.ops.zeros((8, 2))
      model.fit(x, y, verbose=0)
  
file_path: keras/keras/optimizers/adam_test.py
imports: import numpy
  import pytest
  import keras
  from keras import backend
  from keras import ops
  from keras import testing
  from keras.optimizers.adam import Adam
label_desc: Use image node_id 8 for calling the AdamTest obj's underlying member method code with example usage: obj.test_clipnorm_indexed_slices() without return types