I have an np array n
and the shape is (250,250). after that I converted (final array w
)it into (250,250,3) because I need to do some operation on it.
is it possible to convert the shape of w
to (250,250)
?
thanks in advance.
I tried some reshaping
operation of Numpy but it does not work!