code: def test_dump_numpy_load_tensor(self):
      path = "./tmp"
      glist = []
      dim = 4
      num_nodes = 10
      edges = np.random.randint(
          low=1,
          high=num_nodes,
          size=[np.random.randint(low=2, high=10), 2],
      )
      nfeat = np.random.randn(num_nodes, dim)
      efeat = np.random.randn(len(edges), dim)
  
      g = pgl.Graph(
          edges=edges,
          num_nodes=num_nodes,
          node_feat={"nfeat": nfeat},
          edge_feat={"efeat": efeat},
      )
  
      in_before = g.indegree()
      g.outdegree()
      # Merge Graph
      g.dump(path)
      g2 = pgl.Graph.load(path)
      in_after = g2.indegree()
      for a, b in zip(in_before, in_after):
          self.assertEqual(a, b)
  
      del g2
      del in_after
      import shutil
  
      shutil.rmtree(path)
  
imports: import os
  import unittest
  import numpy
  import paddle
  import pgl
  from testsuite import create_random_graph
label_desc: Use image node_id 9 for calling the GraphTest obj's underlying member method code with example usage: obj.test_dump_numpy_load_tensor() without return types