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

question in GatedConv2d #45

Open
tangeroo opened this issue Nov 14, 2019 · 1 comment
Open

question in GatedConv2d #45

tangeroo opened this issue Nov 14, 2019 · 1 comment

Comments

@tangeroo
Copy link

hi,
Thanks very much for your work.Here I have a question: in GatedConv2d, why does sigmoid function add to the conved inp instead of conved mask.
Thank you
image

@abtExp
Copy link

abtExp commented Nov 29, 2019

the concept of gated convolutions is based on learning weights based on the features, by activating only certain nodes in the kernel depending on the input. The gated convolution filter learns the relations between the input feature maps and the most prominent weights for that input feature map, thus it applies the sigmoid on the input allowing certain parts of input to contribute more to the output. (Giving higher weights to some features and lower weights to other features.)

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