code: def test_embedding(self):
      input_data = np.random.randint(1000, size=(32, 10))
      blayer = BLayer.Embedding(1000, 64, input_shape=(10,))
      klayer = KLayer.Embedding(1000, 64, input_length=10)
      self.compare_newapi(
          klayer, blayer, input_data, WeightsConverter.convert_embedding
      )
  
imports: import pytest
  from test.bigdl.test_utils import BigDLTestCase
  import bigdl.dllib.nn.keras.layers.layer
  import keras.layers
  import keras.backend
  from bigdl.dllib.keras.converter import WeightsConverter
  from bigdl.dllib.feature.dataset.dataset import *
  from bigdl.dllib.nn.keras.layers.topology import Model
  from bigdl.dllib.nn.keras.layers.topology import Sequential
  from keras.engine import merge, Model
  from keras.models import Sequential
label_desc: Use image node_id 1 for calling the TestKerasAPI obj's underlying member method code with example usage: obj.test_embedding() without return types