code: def test_embedding_layer(self):
      weight = np.arange(10).reshape((5, 2))
  
      network = layers.join(
          layers.Input(1),
          layers.Embedding(5, 2, weight=weight),
      )
  
      input_vector = asfloat(np.array([[0, 1, 4]]).T)
      expected_output = np.array(
          [
              [[0, 1]],
              [[2, 3]],
              [[8, 9]],
          ]
      )
      actual_output = self.eval(network.output(input_vector))
  
      self.assertShapesEqual(network.output_shape, (None, 1, 2))
      np.testing.assert_array_equal(expected_output, actual_output)
  
file_path: neupy/tests/layers/test_embeddings.py
imports: import numpy
  from neupy import layers
  from neupy.utils import asfloat
  from base import BaseTestCase
label_desc: Use image node_id 1 for calling the EmbeddingLayerTestCase obj's underlying member method code with example usage: obj.test_embedding_layer() without return types