code: def test_series_gpu_initializer(setup_gpu):
      # from raw cudf initializer
      raw = cudf.Series(cupy.random.rand(100), name="a")
      r = md.Series(raw, chunk_size=13)
      result = r.execute().fetch()
      pd.testing.assert_series_equal(
          result.to_pandas(), raw.to_pandas()
      )
  
      raw = cupy.random.rand(100)
      r = md.Series(raw, name="a", chunk_size=13)
      result = r.execute().fetch()
      expected = cudf.Series(raw, name="a")
      pd.testing.assert_series_equal(
          result.to_pandas(), expected.to_pandas()
      )
  
file_path: mars/mars/dataframe/tests/test_initializer.py
imports: import numpy
  import pandas
  from ...None import dataframe
  from ...None import tensor
  from ...tests.core import require_cudf, require_cupy
  from ...utils import lazy_import
label_desc: Use image node_id 4 for calling a global function with example usage: test_series_gpu_initializer(setup_gpu) without return types