Today I was “fighting” with the numpy reshape function and I found something strange like
matrix.reshape(1,-1). Thus, I have researched quite some time and I found, that the
-1 is actually a placeholder for python to change the dimensions of…

We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkCookie policy