code: def ascontiguousarray(a, dtype=None):
      """Returns a C-contiguous array.
  
      Args:
          a (cupy.ndarray): Source array.
          dtype: Data type specifier.
  
      Returns:
          cupy.ndarray: If no copy is required, it returns ``a``. Otherwise, it
          returns a copy of ``a``.
  
      .. seealso:: :func:`numpy.ascontiguousarray`
  
      """
      return _core.ascontiguousarray(a, dtype)
  
file_path: cupy/cupy/_creation/from_data.py
imports: import numpy
  from cupy import _core
  from cupy._core import fusion
label_desc: Use image node_id 4 for calling a global function with example usage: ascontiguousarray(a, dtype) and returns: _core