class_docstr: SampleTest
      
class_docstr_tok: ["SampleTest"]
docstr: test_graphsage_sample
          
docstr_tok: ["test_graphsage_sample"]
code: def test_graphsage_sample(self):
      """test_graphsage_sample"""
      graph = create_random_graph()
      nodes = [1, 2, 3]
      np.random.seed(1)
      subgraphs = graphsage_sample(graph, nodes, [10, 10], [])
  
file_path: PGL/tests/test_sample.py
imports: import os
  import unittest
  import numpy
  import paddle
  import pgl
  from pgl.sampling import graphsage_sample
  from pgl.sampling import random_walk
  from pgl.sampling import node2vec_walk
  from pgl.sampling import node2vec_walk_plus
  from testsuite import create_random_graph
label_desc: Use image node_id 1 for calling the SampleTest obj's underlying member method code with example usage: obj.test_graphsage_sample() without return types