want to convert that to array with shape(n,m,p). Which function do I use?
In other words, I want to insert second dimension in first dimension.
i don't understand, you mean an array of shape() objects (which has some parameters m, n and p) and you want to edit these shape objects?
Are you using numpy?
No, these are number of features in dim1, dim2, dim3.
I think you need to use numpy.transpose
transpose doesn't work that way
just reshape it boi
OOOH NUMPY SHAPE
did you know mypy is going to add shape support soon
This works.
yep transpose would work in that case nvm what i said
Обсуждают сегодня