code: def cugraph_call(
      benchmark_callable, graph_file, pairs, use_weight=False
  ):
      # Device data
      G = graph_file.get_graph(
          create_using=cugraph.Graph(directed=False),
          ignore_weights=not use_weight,
      )
      # cugraph Overlap Call
      df = benchmark_callable(cugraph.overlap, G, pairs)
      df = df.sort_values(
          by=[VERTEX_PAIR_FIRST_COL, VERTEX_PAIR_SECOND_COL]
      ).reset_index(drop=True)
      if use_weight:
          res_w_overlap = cugraph.overlap_w(G, vertex_pair=pairs)
          assert_frame_equal(
              res_w_overlap, df, check_dtype=False, check_like=True
          )
  
      return df[OVERLAP_COEFF_COL].to_numpy()
  
imports: import gc
  import pytest
  import numpy
  import scipy
  import cudf
  import cugraph
  from cugraph.testing import utils, UNDIRECTED_DATASETS
  from cudf.testing import assert_series_equal
  from cudf.testing.testing import assert_frame_equal
label_desc: Use image node_id 3 for calling a global function with example usage: cugraph_call(benchmark_callable, graph_file, pairs, use_weight) and returns: df