code: def test_async_update(self):
      try:
          embeds = SharedEmbedding.from_array(
              self.x, self.weight_path, "adagrad", 1.0
          )
          embeds.start_async_update()
          u = paddle.to_tensor([[1.0], [-1]])
          indexs = paddle.to_tensor([0, 2])
          tensors = embeds(indexs)
          loss = (tensors * u).sum()
          loss.backward()
          embeds.step()
          y = np.array([[-1.0, 2.0], [5.0, 9.0], [2.0, 8.0]])
          time.sleep(5)
          self.assertTrue((embeds.weight == y).all())
          embeds.finish_async_update()
      except AssertionError as error:
          embeds.finish_async_update()
          raise AssertionError(error)
  
imports: import time
  import unittest
  import numpy
  import paddle
  from pgl.utils.shared_embedding import SharedEmbedding
label_desc: Use image node_id 13 for calling the TestSharedEmebdding obj's underlying member method code with example usage: obj.test_async_update() without return types