<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def to_numpy_array(multiprocessing_array, shape, dtype):
 """Convert a share multiprocessing array to a numpy array. No data copying involved. """


    return np.frombuffer(multiprocessing_array.get_obj(),
                         dtype = dtype).reshape(shape)