Objekt „zoznamu“ programovania v jazyku Python nemožno interpretovať ako celé číslo

Python Programminglistobject Cannot Be Interpreted



Veci sú umelé


Pochybnosti

Hádanka

 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  

To



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