I don't understand the usage of -1 in reshaping

Hi @thanaa1812 ,

Please check out this thread written by our mentor Paul M.