code: def full_like(
      a: NDArray[Any],
      fill_value: Any,
      dtype: DTypeLike = None,
      order: _OrderKACF = "K",
      subok: None = None,
      shape: Optional[_ShapeLike] = None,
  ) -> NDArray[Any]:
      """Returns a full array with same shape and dtype as a given array.
  
      This function currently does not support ``subok`` option.
  
      Args:
          a (cupy.ndarray): Base array.
          fill_value: A scalar value to fill a new array.
          dtype (data-type, optional): Data type specifier.
              The dtype of ``a`` is used by default.
          order ({'C', 'F', 'A', or 'K'}): Overrides the memory layout of the
              result. ``'C'`` means C-order, ``'F'`` means F-order, ``'A'`` means
              ``'F'`` if ``a`` is Fortran contiguous, ``'C'`` otherwise.
              ``'K'`` means match the layout of ``a`` as closely as possible.
          subok: Not supported yet, must be None.
          shape (int or tuple of ints): Overrides the shape of the result. If
              ``order='K'`` and the number of dimensions is unchanged, will try
              to keep order, otherwise, ``order='C'`` is implied.
  
      Returns:
          cupy.ndarray: An array filled with ``fill_value``.
  
      .. seealso:: :func:`numpy.full_like`
  
      """
      if subok is not None:
          raise TypeError("subok is not supported yet")
      if dtype is None:
          dtype = a.dtype
  
      order, strides, memptr = _new_like_order_and_strides(
          a, dtype, order, shape
      )
      shape = shape if shape else a.shape
      a = cupy.ndarray(shape, dtype, memptr, strides, order)
      cupy.copyto(a, fill_value, casting="unsafe")
      return a
  
file_path: cupy/cupy/_creation/basic.py
imports: from typing import Any, Optional
  import numpy
  import cupy
  from cupy._core.internal import _get_strides_for_order_K, _update_order_char
  from cupy.typing._types import _OrderKACF, _OrderCF, _ShapeLike, DTypeLike, NDArray
label_desc: Use image node_id 11 for calling a global function with example usage: full_like(a, fill_value, dtype, order, subok, shape) and returns: a