<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 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)