code: def test_build_graph_without_num_nodes(self):
      e = np.array([(0, 1), (1, 2), (3, 4)])
      edges = paddle.to_tensor(e)
  
      g2 = pgl.Graph(edges=edges)
  
imports: import os
  import unittest
  import numpy
  import paddle
  import pgl
  from testsuite import create_random_graph
label_desc: Use image node_id 4 for calling the GraphTest obj's underlying member method code with example usage: obj.test_build_graph_without_num_nodes() without return types