code: def test_symmetrize_weighted(graph_file):
      gc.collect()
      cu_M = graph_file.get_edgelist()
  
      sym_src, sym_dst, sym_w = cugraph.symmetrize(
          cu_M["src"], cu_M["dst"], cu_M["wgt"]
      )
  
      compare(
          cu_M["src"], cu_M["dst"], cu_M["wgt"], sym_src, sym_dst, sym_w
      )
  
file_path: cugraph/python/cugraph/cugraph/tests/internals/test_symmetrize.py
imports: import gc
  import pytest
  import pandas
  import cudf
  import cugraph
  from cugraph.testing import DEFAULT_DATASETS
label_desc: Use image node_id 4 for calling a global function with example usage: test_symmetrize_weighted(graph_file) without return types