I have a numpy array say
x.shape
(5,)
x[0].shape
(512,) How to apply reshape so that when I get
(5,512)
If your content of x is all of the same shape:
x
x = np.stack(x)