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

Gated unit formulation #30

Closed
ngimel opened this issue Feb 18, 2018 · 1 comment
Closed

Gated unit formulation #30

ngimel opened this issue Feb 18, 2018 · 1 comment

Comments

@ngimel
Copy link

ngimel commented Feb 18, 2018

Original PixelCNN paper (https://arxiv.org/pdf/1606.05328.pdf) uses gated unit defined as tanh(a) * sigmoid(b). Same formulation of gated unit is used in the wavenet paper. Yet here you switched to gated unit defined as a*sigmoid(b) https://github.com/openai/pixel-cnn/blob/master/pixel_cnn_pp/nn.py#L286-L287. Is there a reason for this? Does it train better with this nonlinearity?

@mcdavid109
Copy link

You can view Dauphin et al 2017 work that described Gated Linear Unit

@ngimel ngimel closed this as completed Mar 22, 2023
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

No branches or pull requests

2 participants