code: def test_cpu_dense_lookup(self):
      mid_level = self._create_mid_level()
      features = self._get_dense_tensors()
      results = mid_level(features, weights=None)
      all_lookups = []
      for feature, config in zip(
          nest.flatten(features), self.feature_config
      ):
          table = mid_level.embedding_tables[config.table].numpy()
          all_lookups.append(table[feature.numpy()])
      self.assertAllClose(
          results, nest.pack_sequence_as(results, all_lookups)
      )
  
imports: import numpy
  from tensorflow.python.compat import v2_compat
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import sparse_tensor
  from tensorflow.python.ops import init_ops_v2
  from tensorflow.python.ops.ragged import ragged_tensor
  from tensorflow.python.platform import test
  from tensorflow.python.tpu import tpu_embedding_for_serving
  from tensorflow.python.tpu import tpu_embedding_v2_utils
  from tensorflow.python.util import nest
label_desc: Use image node_id 4 for calling the TPUEmbeddingForServingTest obj's underlying member method code with example usage: obj.test_cpu_dense_lookup() without return types