code: def test_from_params(self):
      link1 = links.EmbedID(self.in_size, self.out_size)
      link2 = links.EmbedID.from_params(link1.W)
  
      assert link2.W.shape == link1.W.shape
  
imports: import unittest
  import numpy
  import chainer
  from chainer.backends import cuda
  from chainer import gradient_check
  from chainer import links
  from chainer import testing
  from chainer.testing import attr
  from chainer.testing import condition
label_desc: Use image node_id 2 for calling the TestEmbedIDFromParams obj's underlying member method code with example usage: obj.test_from_params() without return types