code: def test_convert_input_dtype(
      from_dtype, to_dtype, input_type, num_rows, num_cols, order
  ):
      if from_dtype == np.float16 and input_type != "numpy":
          pytest.xfail("float16 not yet supported by numba/cuDF")
  
      if from_dtype in [np.uint8, np.uint16, np.uint32, np.uint64]:
          if input_type == "cudf":
              pytest.xfail(
                  "unsigned int types not yet supported by \
                           cuDF"
              )
          elif not has_cupy():
              pytest.xfail(
                  "unsigned int types not yet supported by \
                           cuDF and cuPy is not installed."
              )
  
      input_data, real_data = get_input(
          input_type,
          num_rows,
          num_cols,
          from_dtype,
          out_dtype=to_dtype,
          order=order,
      )
  
      if input_type == "cupy" and input_data is None:
          pytest.skip("cupy not installed")
  
      converted_data = convert_dtype(input_data, to_dtype=to_dtype)
  
      if input_type == "numpy":
          np.testing.assert_equal(converted_data, real_data)
      elif input_type == "cudf":
          np.testing.assert_equal(converted_data.to_numpy(), real_data)
      elif input_type == "pandas":
          np.testing.assert_equal(converted_data.to_numpy(), real_data)
      else:
          np.testing.assert_equal(
              converted_data.copy_to_host(), real_data
          )
  
      if from_dtype == to_dtype:
          check_ptr(converted_data, input_data, input_type)
  
imports: from pandas import Series
  from cuml.internals.safe_imports import cpu_only_import_from
  from cuml.internals.safe_imports import gpu_only_import_from
  from cuml.internals.input_utils import convert_dtype
  from cuml.common import has_cupy
  from cuml.internals.input_utils import input_to_cupy_array
  from cuml.common import input_to_host_array
  from cuml.common import input_to_cuml_array, CumlArray
  from cuml.internals.safe_imports import cpu_only_import
  import pytest
  from cuml.internals.safe_imports import gpu_only_import
label_desc: Use image node_id 7 for calling a global function with example usage: test_convert_input_dtype(from_dtype, to_dtype, input_type, num_rows, num_cols, order) without return types