parameters: (x, order='C')
docstring: r"""
      ravel(x)
  
      Return a contiguous flattened array.
      A 1-D array, containing the elements of the input, is returned.  A copy is
      made only if needed.
  
      Parameters
      ----------
      x : _Symbol
          Input array.  The elements in `x` are read in row-major, C-style order and
          packed as a 1-D array.
      order : `C`, optional
          Only support row-major, C-style order.
  
      Returns
      -------
      y : _Symbol
          y is an array of the same subtype as `x`, with shape ``(x.size,)``.
          Note that matrices are special cased for backward compatibility, if `x`
          is a matrix, then y is a 1-D ndarray.
  
      Notes
      -----
      This function differs from the original numpy.arange in the following aspects:
          - Only support row-major, C-style order.
docstring_summary: r"""
      ravel(x)
docstring_tokens: r ravel ( x )
function: def ravel(x, order='C'):
      r"""
      ravel(x)
  
      Return a contiguous flattened array.
      A 1-D array, containing the elements of the input, is returned.  A copy is
      made only if needed.
  
      Parameters
      ----------
      x : _Symbol
          Input array.  The elements in `x` are read in row-major, C-style order and
          packed as a 1-D array.
      order : `C`, optional
          Only support row-major, C-style order.
  
      Returns
      -------
      y : _Symbol
          y is an array of the same subtype as `x`, with shape ``(x.size,)``.
          Note that matrices are special cased for backward compatibility, if `x`
          is a matrix, then y is a 1-D ndarray.
  
      Notes
      -----
      This function differs from the original numpy.arange in the following aspects:
          - Only support row-major, C-style order.
      """
      if order == 'F':
          raise NotImplementedError('order {} is not supported'.format(order))
      if isinstance(x, numeric_types):
          return _np.reshape(x, -1)
      elif isinstance(x, _Symbol):
          return reshape(x, -1)
      else:
          raise TypeError('type {} not supported'.format(str(type(x))))
function_tokens: def ravel ( x , order = 'C' ) : if order == 'F' : raise NotImplementedError ( 'order {} is not supported' . format ( order ) ) if isinstance ( x , numeric_types ) : return _np . reshape ( x , - 1 ) elif isinstance ( x , _Symbol ) : return reshape ( x , - 1 ) else : raise TypeError ( 'type {} not supported' . format ( str ( type ( x ) ) ) )