convert to_numpy(array, dtype=None) Input array can be a numpy array or a cupy array. Returns numpy array.