code: def test_create_from_array(self):
      embeds = SharedEmbedding.from_array(
          self.x, weight_path="test_weight_embedding.npy"
      )
      self.assertTrue((embeds.weight == self.x).all())
  
imports: import time
  import unittest
  import numpy
  import paddle
  from pgl.utils.shared_embedding import SharedEmbedding
label_desc: Use image node_id 4 for calling the TestSharedEmebdding obj's underlying member method code with example usage: obj.test_create_from_array() without return types