code: def testDynamicEmbeddingKerasInterface_KerasLayer(self):
      de_layer = de_ops.DynamicEmbeddingLookup(
          self._config, "embed", service_address=self._kbs_address
      )
      # 1D case.
      embed = de_layer(np.array(["key1", "key2", "key3"]))
      self.assertEqual((3, 2), embed.shape)
      # 2D case.
      embed = de_layer(np.array([["key1", "key2"], ["key3", ""]]))
      self.assertEqual((2, 2, 2), embed.shape)
  
imports: import itertools
  from absl.testing import parameterized
  from research.carls import context
  from research.carls import dynamic_embedding_ops
  from research.carls.testing import test_util
  import numpy
  import tensorflow
label_desc: Use image node_id 11 for calling the DynamicEmbeddingOpsTest obj's underlying member method code with example usage: obj.testDynamicEmbeddingKerasInterface_KerasLayer() without return types