code: def global_output_type(request):
      output_type = request.param
  
      yield output_type
  
      # Ensure we reset the type at the end of the test
      cuml.set_global_output_type(None)
  
file_path: cuml/python/cuml/tests/test_module_config.py
imports: from numba.cuda import is_cuda_array, as_cuda_array
  from cuml.internals.safe_imports import cpu_only_import
  import cuml
  import pytest
  from cuml.internals.safe_imports import gpu_only_import
label_desc: Use image node_id 1 for calling a global function with example usage: global_output_type(request) without return types