XudongLinthu / context-gated-convolution

Implementation for Context-Gated Convolution

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

the purpose of using a pooling layer

CR7forMadrid opened this issue · comments

Hello, I would like to ask you what is the purpose of using a pooling layer to make the feature map of h*w into h'*w'? AdaptiveAvgPool2d((ws,ws)) in the code you posted, why output_size=kernel_size?