Closed josephmje closed 5 years ago
ah I meant there was use of reshape like:
x.reshape( (dim,-1) )
There was no explanation for a. What reshape does, how does it work? It's easy to think about it in terms of changing dimension size but how does the actual data change? How are the rows/columns being shifted around? b. The use of (-1) in reshape should be explained cause its really useful
ah sorry just took another look. You use -1 to refer to the last element in the array (instead of as an arg to reshape), as long as it's mentioned we should be good. But point (a) still stands.
@jerdra not sure what you meant by
reshape
command here