Section Navigation
Efficient Channel Attention [Wang2021].
in_channels (int) – number of input feature channels
kernel_size (int) – kernel size of convolutional layer, determines degree of channel interaction, must be odd.
References
Wang, Q. et al., 2021. ECA-Net: Efficient Channel Attention
for Deep Convolutional Neural Networks. CVPR 2021.
Methods
Apply the Efficient Channel Attention block to the input tensor.
x (Pytorch.Tensor)
Pytorch.Tensor
ECA
ECA.forward()