Skip to content

Conversation

@akleeman
Copy link

get_activation_name appears to be expected to return a string using the mapper, but I think it was erroneously returning the key (a class, not a string). This leads to a null operation in linear_init since all the if/elif statements won't match.

I suppose the result would have been some weights (in the MLP class for example) which weren't being initialized as intended. I can't imagine the consequences of such a bug would be large, but perhaps worth the fix?

`get_activation_name` appears to be expected to return a string using the `mapper`, but was erroneously returning the key (a class, not a string)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant