出现错误,在改了net为Net以后
TypeError Traceback (most recent call last)<ipython-input-65-ddd1cdaa736a> in <module>----> 1 out=Net(input_data) 2 print(out) 3 print(out.size())TypeError: __init__() takes 1 positional argument but 2 were given
TypeError Traceback (most recent call last)<ipython-input-65-ddd1cdaa736a> in <module>----> 1 out=Net(input_data) 2 print(out) 3 print(out.size())TypeError: __init__() takes 1 positional argument but 2 were given
2020-07-14
举报