def METHOD_NAME(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.METHOD_NAME(a, dtype)