code: def test_eval_mode(self):
      embeds = self.create_random_shared_embedding()
      embeds.eval()
      x = embeds(np.array([0, 2]))
      self.assertTrue(x.stop_gradient)
  
imports: import time
  import unittest
  import numpy
  import paddle
  from pgl.utils.shared_embedding import SharedEmbedding
label_desc: Use image node_id 6 for calling the TestSharedEmebdding obj's underlying member method code with example usage: obj.test_eval_mode() without return types