code: def test_mg_betweenness_centrality(
      graph_file,
      directed,
      subset_size,
      normalized,
      weight,
      endpoints,
      subset_seed,
      result_dtype,
      dask_client,
  ):
      sorted_df = calc_betweenness_centrality(
          graph_file,
          directed=directed,
          normalized=normalized,
          k=subset_size,
          weight=weight,
          endpoints=endpoints,
          seed=subset_seed,
          result_dtype=result_dtype,
          multi_gpu_batch=True,
      )
      compare_scores(
          sorted_df,
          first_key="cu_bc",
          second_key="ref_bc",
          epsilon=DEFAULT_EPSILON,
      )
  
file_path: cugraph/python/cugraph/cugraph/tests/centrality/test_batch_betweenness_centrality_mg.py
imports: import gc
  import pytest
  import numpy
  from cugraph.dask.common.mg_utils import is_single_gpu
  from cugraph.datasets import karate
  from test_betweenness_centrality import calc_betweenness_centrality, compare_scores
label_desc: Use image node_id 2 for calling a global function with example usage: test_mg_betweenness_centrality(graph_file, directed, subset_size, normalized, weight, endpoints, subset_seed, result_dtype, dask_client) without return types