docstr: Test DynamicEmbedding's compatibility with tf.data.Dataset API.
docstr_tok: ["Test","DynamicEmbedding","'s","compatibility","with","tf.data.Dataset","API","."]
code: def testDynamicEmbeddingTfDataset(self):
      """Test DynamicEmbedding's compatibility with tf.data.Dataset API."""
      dataset = self._create_dataset()
      for data in dataset:
          self.assertAllEqual([4, 2], data.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 10 for calling the DynamicEmbeddingOpsTest obj's underlying member method code with example usage: obj.testDynamicEmbeddingTfDataset() without return types