#NEWLINE# def ravel( self , order = 'C' , stream = 0 ) : #NEWLINE# #INDENT# '\n        Flatten the array without changing its contents, similar to\n        :meth:`numpy.ndarray.ravel`.\n        ' #NEWLINE# stream = self . _default_stream ( stream ) #NEWLINE# cls = type ( self ) #NEWLINE# ( newarr , extents ) = self . _dummy . ravel ( order = order ) #NEWLINE# if ( extents == [ self . _dummy . extent ] ) : #NEWLINE# #INDENT# return cls ( shape = stream . shape , strides = newarr . strides , dtype = self . dtype , gpu_data = self . gpu_data , stream = stream ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# raise NotImplementedError ( 'operation requires copying' )