parameters: (self, x)
return_statement: return x.ravel(), x_shape
docstring: Reshape input x array to 1-D
docstring_summary: Reshape input x array to 1-D
docstring_tokens: Reshape input x array to 1 - D
function: def _prepare_x(self, x):
          """Reshape input x array to 1-D"""
          x = _asarray_validated(x, check_finite=False, as_inexact=True)
          x_shape = x.shape
          return x.ravel(), x_shape
function_tokens: def _prepare_x ( self , x ) : x = _asarray_validated ( x , check_finite = False , as_inexact = True ) x_shape = x . shape return x . ravel ( ) , x_shape