You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code for class MLP is mistakingly applying the actuation function to the last (i.e. output) layer. The error is in the evaluation of the is_last flag. The current code is:
The code for class MLP is mistakingly applying the actuation function to the last (i.e. output) layer. The error is in the evaluation of the
is_last
flag. The current code is:The last line should be changed to
is_last = ind >= (len(dims) - 2)
:If you like, I can do a pull request.
The text was updated successfully, but these errors were encountered: