class_docstr: GPU Sampler for homogeneous graph 
class_docstr_tok: ["GPU","Sampler","for","homogeneous","graph"]
code: def __init__(self, graph, samples, uva=False):
      self.graph = graph
      self.samples = samples
      self.row = to_paddle_tensor(
          self.graph.adj_dst_index._sorted_v, uva
      )
      self.colptr = to_paddle_tensor(
          self.graph.adj_dst_index._indptr, uva
      )
  
imports: import time
  import copy
  import numpy
  import paddle
  import pgl
  from pgl import graph_kernel
  from pgl.sampling.custom import subgraph
  from pgl.utils.logger import log
  from pgl.utils.helper import to_paddle_tensor
label_desc: Use image node_id 1 to create a new NeighborSampler object from inherited base classes: object with example: obj = NeighborSampler(graph, samples, uva)