code: def test_node2vec_karate(compress_result, renumbered):
      num_edges = 156
      num_vertices = 34
      src = cp.asarray(
          [
              1,
              2,
              3,
              4,
              5,
              6,
              7,
              8,
              10,
              11,
              12,
              13,
              17,
              19,
              21,
              31,
              2,
              3,
              7,
              13,
              17,
              19,
              21,
              30,
              3,
              7,
              8,
              9,
              13,
              27,
              28,
              32,
              7,
              12,
              13,
              6,
              10,
              6,
              10,
              16,
              16,
              30,
              32,
              33,
              33,
              33,
              32,
              33,
              32,
              33,
              32,
              33,
              33,
              32,
              33,
              32,
              33,
              25,
              27,
              29,
              32,
              33,
              25,
              27,
              31,
              31,
              29,
              33,
              33,
              31,
              33,
              32,
              33,
              32,
              33,
              32,
              33,
              33,
              0,
              0,
              0,
              0,
              0,
              0,
              0,
              0,
              0,
              0,
              0,
              0,
              0,
              0,
              0,
              0,
              1,
              1,
              1,
              1,
              1,
              1,
              1,
              1,
              2,
              2,
              2,
              2,
              2,
              2,
              2,
              2,
              3,
              3,
              3,
              4,
              4,
              5,
              5,
              5,
              6,
              8,
              8,
              8,
              9,
              13,
              14,
              14,
              15,
              15,
              18,
              18,
              19,
              20,
              20,
              22,
              22,
              23,
              23,
              23,
              23,
              23,
              24,
              24,
              24,
              25,
              26,
              26,
              27,
              28,
              28,
              29,
              29,
              30,
              30,
              31,
              31,
              32,
          ],
          dtype=np.int32,
      )
      dst = cp.asarray(
          [
              0,
              0,
              0,
              0,
              0,
              0,
              0,
              0,
              0,
              0,
              0,
              0,
              0,
              0,
              0,
              0,
              1,
              1,
              1,
              1,
              1,
              1,
              1,
              1,
              2,
              2,
              2,
              2,
              2,
              2,
              2,
              2,
              3,
              3,
              3,
              4,
              4,
              5,
              5,
              5,
              6,
              8,
              8,
              8,
              9,
              13,
              14,
              14,
              15,
              15,
              18,
              18,
              19,
              20,
              20,
              22,
              22,
              23,
              23,
              23,
              23,
              23,
              24,
              24,
              24,
              25,
              26,
              26,
              27,
              28,
              28,
              29,
              29,
              30,
              30,
              31,
              31,
              32,
              1,
              2,
              3,
              4,
              5,
              6,
              7,
              8,
              10,
              11,
              12,
              13,
              17,
              19,
              21,
              31,
              2,
              3,
              7,
              13,
              17,
              19,
              21,
              30,
              3,
              7,
              8,
              9,
              13,
              27,
              28,
              32,
              7,
              12,
              13,
              6,
              10,
              6,
              10,
              16,
              16,
              30,
              32,
              33,
              33,
              33,
              32,
              33,
              32,
              33,
              32,
              33,
              33,
              32,
              33,
              32,
              33,
              25,
              27,
              29,
              32,
              33,
              25,
              27,
              31,
              31,
              29,
              33,
              33,
              31,
              33,
              32,
              33,
              32,
              33,
              32,
              33,
              33,
          ],
          dtype=np.int32,
      )
      wgt = cp.asarray(
          [
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
              1.0,
          ],
          dtype=np.float32,
      )
      seeds = cp.asarray([12, 28, 20, 23, 15, 26], dtype=np.int32)
      max_depth = 5
  
      _run_node2vec(
          src,
          dst,
          wgt,
          seeds,
          num_vertices,
          num_edges,
          max_depth,
          compress_result,
          0.8,
          0.5,
          renumbered,
      )
  
file_path: cugraph/python/pylibcugraph/pylibcugraph/tests/test_node2vec.py
imports: import pytest
  import cupy
  import numpy
  from pylibcugraph import ResourceHandle, GraphProperties, SGGraph, node2vec
  from pylibcugraph.testing import utils
label_desc: Use image node_id 6 for calling a global function with example usage: test_node2vec_karate(compress_result, renumbered) without return types