code: def assert_array_identical(a, b):
      cupy_a = input_to_cuml_array(a, order="K").array
      cupy_b = input_to_cuml_array(b, order="K").array
  
      if len(a) == 0 and len(b) == 0:
          return True
  
      assert cupy_a.shape == cupy_b.shape
      assert cupy_a.dtype == cupy_b.dtype
      assert cupy_a.order == cupy_b.order
      assert cp.all(cp.asarray(cupy_a) == cp.asarray(cupy_b)).item()
  
imports: from cuml.internals.input_utils import input_to_cuml_array
  from cuml.internals.input_utils import determine_array_type
  from cuml.internals.input_utils import determine_array_dtype
  from cuml.common.array_descriptor import CumlArrayDescriptor
  from cuml.internals.array import CumlArray
  import pytest
  from cuml.internals.safe_imports import cpu_only_import
  import pickle
  import cuml
  import cuml.internals
  from cuml.internals.safe_imports import gpu_only_import
label_desc: Use image node_id 1 for calling a global function with example usage: assert_array_identical(a, b) and returns: True