TypeError: __sigmoid() takes 1 positional argument but 2 were given

TypeError: __sigmoid() takes 1 positional argument but 2 were given

problem analysis:

As can be seen the number of parameters is a problem, no problem was found after the view function as
1447386-20180805124658031-61777736.png
1447386-20180805124710774-997461291.png

solve:

  • Here the problem is actually defined at the sigmoid, the less defined parametersdef __sigmoid(self, t):
@. Posted 2018-08-05 12:49 story house - the night listening to rain reading ( ... ) Comments ( ... ) edit collections
Published 32 original articles · won praise 7 · views 7601

Guess you like

Origin blog.csdn.net/Isaacddx/article/details/86143926