Answer the question
In order to leave comments, you need to log in
How to reshape an array?
There are multiple arrays that have the same length but different shapes. All of them look something like this when printed: a = [1 4 5 8 12 22 98 ...]
One of the arrays has the form (80, ), the second: (80, 2, 1), the third: (80, 1, 1). How to bring all arrays to the same shape?
Answer the question
In order to leave comments, you need to log in
shape = (80, ) just means that the array is one-dimensional. I think the original problem is something else.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question