Pythonプログラミングの「リスト」オブジェクトを整数として解釈することはできません



Python Programminglistobject Cannot Be Interpreted



物事は人工的です


疑い



パズル

 resize: Given an array and a specific dimension, a new array in the form of a given dimension will be returned.   Because nn.resize (a, b) a, b should be of type int, representing the size to be generated, is 2 rows and 4 columns, or 4 rows and 2 columns  

nn.resize (4,1) or nn.resize (mm [0] [1], 1) because mm [0] [1] is 2, shaped