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

add condition if act None #17

Merged
merged 1 commit into from Nov 10, 2017
Merged

add condition if act None #17

merged 1 commit into from Nov 10, 2017

Conversation

backpropper
Copy link
Contributor

Adding condition if both batch_norm and activation are None.

@cbfinn
Copy link
Owner

cbfinn commented Nov 4, 2017

If the user wants no activation, I think it would be better for the user to explicitly pass in tf.identity here, rather than None.

@backpropper
Copy link
Contributor Author

This was just to make it convenient for testing with different norms (with or without activation).

@cbfinn
Copy link
Owner

cbfinn commented Nov 10, 2017

Ok, LGTM.

@cbfinn cbfinn merged commit fccdf90 into cbfinn:master Nov 10, 2017
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.

None yet

2 participants