code: def input_graph(request):
      """
      Simply return the current combination of params as a dictionary for use in
      tests or other parameterized fixtures.
      """
      parameters = dict(zip(("graph_file", "directed"), request.param))
      input_data_path = parameters["graph_file"].get_path()
      directed = parameters["directed"]
  
      chunksize = dcg.get_chunksize(input_data_path)
      ddf = dask_cudf.read_csv(
          input_data_path,
          chunksize=chunksize,
          delimiter=" ",
          names=["src", "dst", "value"],
          dtype=["int32", "int32", "float32"],
      )
      dg = cugraph.Graph(directed=directed)
      dg.from_dask_cudf_edgelist(
          ddf,
          source="src",
          destination="dst",
          edge_attr="value",
          renumber=True,
          store_transposed=True,
      )
  
      return dg
  
file_path: cugraph/python/cugraph/cugraph/tests/sampling/test_random_walks_mg.py
imports: import gc
  import random
  import pytest
  import cugraph
  import dask_cudf
  import cugraph.dask
  from cugraph.testing import SMALL_DATASETS
  from cugraph.datasets import karate_asymmetric
  from pylibcugraph.testing.utils import gen_fixture_params_product
label_desc: Use image node_id 4 for calling a global function with example usage: input_graph(request) and returns: dg