code: def test_dump_numpy_load_numpy(self):
      path = "./tmp"
      dim = 4
      src_num_nodes = np.random.randint(low=2, high=10)
      dst_num_nodes = np.random.randint(low=2, high=10)
      edges_size = np.random.randint(low=1, high=10)
      edges_src = np.random.randint(
          low=1, high=src_num_nodes, size=[edges_size, 1]
      )
  
      edges_dst = np.random.randint(
          low=1, high=dst_num_nodes, size=[edges_size, 1]
      )
  
      edges = np.hstack([edges_src, edges_dst])
  
      src_nfeat = np.random.randn(src_num_nodes, dim)
      dst_nfeat = np.random.randn(dst_num_nodes, dim)
      efeat = np.random.randn(len(edges), dim)
  
      g = pgl.BiGraph(
          edges=paddle.to_tensor(edges),
          src_num_nodes=paddle.to_tensor(src_num_nodes),
          dst_num_nodes=paddle.to_tensor(dst_num_nodes),
          src_node_feat={"nfeat": paddle.to_tensor(src_nfeat)},
          dst_node_feat={"nfeat": paddle.to_tensor(dst_nfeat)},
          edge_feat={"efeat": paddle.to_tensor(efeat)},
      )
  
      in_before = g.indegree()
      g.outdegree()
      # Merge Graph
      g.dump(path)
      g2 = pgl.BiGraph.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_bigraph
label_desc: Use image node_id 8 for calling the BiGraphTest obj's underlying member method code with example usage: obj.test_dump_numpy_load_numpy() without return types