|
Algorithm 1 Coordinate Attention (CA) |
-
1:
# Global average pooling along height and width directions
# Height descriptor
# Width descriptor
-
2:
# Concatenate and transform via shared 1D convolution
#
#
-
3:
# Split and apply sigmoid activation
# Height attention
# Width attention
-
4:
# Apply attention weights to input features
|