Објекат „листа“ програмирања на Питхону не може се тумачити као цео број
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