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

Is it a better way to use conv layer in highway or encoder block feed forward network rather than dense layer? #20

Closed
hackiey opened this issue May 14, 2018 · 1 comment

Comments

@hackiey
Copy link

hackiey commented May 14, 2018

The author didn't mention they use conv layer in paper. thanks for any reply!

@localminimum
Copy link
Owner

localminimum commented May 15, 2018

Hi @hackiey thanks for your question. The "conv" function used here has an argument "kernel_size" and is by default equal to 1 if not specified. This is actually 1x1 convolution which is same as fully connected network. I just use conv function instead of dense layer because it is more robust with different input ranks. If this sounds confusing, check out here.

The only time "conv" function is actually used for narrow convolution is here where the kernel_size is 5.

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