[docs]@singledispatchdefconvert_to_dense(x:Any)->numpy.ndarray:""" Convert something to a NumPy dense array of the same shape. This is typically used a fallback for the various combining methods when there are lots of different array types that ``numpy.concatenate`` doesn't understand. Args: x: Some array-like object to be stored as a NumPy array. Returns: A NumPy array. """returnnumpy.array(x)