Research Article

Progressive Rain Removal Based on the Combination Network of CNN and Transformer

Algorithm 3

CA process procedure.
Input: is the input feature from SA. is the input feature from the corresponding Net-C unit. consists of one 1 × 1 convolution and one 3 × 3 depthwise convolution. is the number of heads. is the temperature parameter.
Output: is the output feature.
(1)reshape().normalize()
(2)reshape().normalize()
(3)reshape()
(4)transpose
(5).reshape()
(6)return