Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change causal conv1d default activation to match the doc #586

Merged
merged 2 commits into from
Jan 31, 2020
Merged

Change causal conv1d default activation to match the doc #586

merged 2 commits into from
Jan 31, 2020

Conversation

ehsanmok
Copy link
Contributor

Description of changes:

Default activation used in CausalConv1d doesn't match the code. Changing it toNone from "relu".

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@lostella lostella requested review from jgasthaus and lovvge and removed request for lostella January 31, 2020 09:36
@lostella
Copy link
Contributor

@jgasthaus @lovvge do you know what the intended default is for this option? Either the default value is changed to match the docstring (as per the proposed fix), or the other way around.

@jgasthaus
Copy link
Contributor

@jgasthaus @lovvge do you know what the intended default is for this option? Either the default value is changed to match the docstring (as per the proposed fix), or the other way around.

Changing the default to None (as the doc states) makes sense to me. All callers do explicitly set it to "relu" when needed.

Copy link
Contributor

@jgasthaus jgasthaus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix!

@lostella lostella merged commit e28cb5b into awslabs:master Jan 31, 2020
@ehsanmok ehsanmok deleted the cconv1d branch January 31, 2020 17:47
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.

3 participants