parameters: (arr, dtype=None, ctx=cpu(0))
return_statement: return empty(arr.shape, dtype, ctx).copyfrom(arr)
docstring: Create an array from source arr.
  
      Parameters
      ----------
      arr : numpy.ndarray
          The array to be copied from
  
      ctx : TVMContext, optional
          The device context to create the array
  
      Returns
      -------
      ret : NDArray
          The created array
docstring_summary: Create an array from source arr.
docstring_tokens: Create an array from source arr .
function: def array(arr, dtype=None, ctx=cpu(0)):
      """Create an array from source arr.
  
      Parameters
      ----------
      arr : numpy.ndarray
          The array to be copied from
  
      ctx : TVMContext, optional
          The device context to create the array
  
      Returns
      -------
      ret : NDArray
          The created array
      """
      if not isinstance(arr, (_np.ndarray, NDArray)):
          arr = _np.array(arr)
      if dtype is None:
        dtype = arr.dtype
      return empty(arr.shape, dtype, ctx).copyfrom(arr)
function_tokens: def array ( arr , dtype = None , ctx = cpu ( 0 ) ) : if not isinstance ( arr , ( _np . ndarray , NDArray ) ) : arr = _np . array ( arr ) if dtype is None : dtype = arr . dtype return empty ( arr . shape , dtype , ctx ) . copyfrom ( arr )