code: def test_node2vec_renumber_cudf(graph_file, renumber):
      dataset_path = graph_file.get_path()
      cu_M = cudf.read_csv(
          dataset_path,
          delimiter=" ",
          dtype=["int32", "int32", "float32"],
          header=None,
      )
      G = cugraph.Graph(directed=True)
      G.from_cudf_edgelist(
          cu_M,
          source="0",
          destination="1",
          edge_attr="2",
          renumber=renumber,
      )
  
      start_vertices = cudf.Series([8, 0, 7, 1, 6, 2], dtype="int32")
      num_seeds = 6
      max_depth = 4
  
      df, seeds = calc_node2vec(
          G,
          start_vertices,
          max_depth,
          compress_result=False,
          p=0.8,
          q=0.5,
      )
      vertex_paths, edge_weights, vertex_path_sizes = df
  
      for i in range(num_seeds):
          if vertex_paths[i * max_depth] != seeds[i]:
              raise ValueError(
                  "vertex_path {} start did not match seed \
                               vertex".format(
                      vertex_paths.values
                  )
              )
  
file_path: cugraph/python/cugraph/cugraph/tests/sampling/test_node2vec.py
imports: import gc
  import random
  import pytest
  import cudf
  import cugraph
  from cugraph.datasets import small_line, karate
  from cugraph.testing import utils, SMALL_DATASETS
label_desc: Use image node_id 7 for calling a global function with example usage: test_node2vec_renumber_cudf(graph_file, renumber) without return types