code: def test_embed(self):
      input = tl.layers.Input([8, 100], dtype=tf.int32)
      embed = tl.layers.Embedding(
          vocabulary_size=1000, embedding_size=50, name="embed"
      )
      print(embed)
      tensor = embed(input)
      self.assertEqual(tensor.get_shape().as_list(), [8, 100, 50])
      model = tl.models.Model(inputs=input, outputs=tensor)
  
file_path: TensorLayer/tests/layers/test_layers_embedding.py
imports: import os
  import unittest
  import numpy
  import tensorflow
  import tensorlayer
  from tests.utils import CustomTestCase
label_desc: Use image node_id 4 for calling the Layer_Embed_Test obj's underlying member method code with example usage: obj.test_embed() without return types