def _reshape_like(F, x, y):
    """Reshapes x to the same shape as y."""
    return x.reshape(y.shape) if F is ndarray else F.reshape_like(x, y)
def _reshape_like ( F , x , y ) : return x . reshape ( y . shape ) if F is ndarray else F . reshape_like ( x , y )
Reshapes x to the same shape as y.