Skip to main content
. 2021 Nov 7;21(21):7399. doi: 10.3390/s21217399
Algorithm 1Operation choice mechanism.
Input: SAC Block input I={Ic, c=1,,C},
    F_Sigmoid output S={sc, c=1,,C},
Scale Choice layer weights W={wc, c=1,,C,0wC1}
 Output: bth SAC Block output Ycb*
1  Set thr = 0.2
2    Set cb*=0
3    for c = 1: C do
4      if wc > thr do
5        Ycb*=Ic×sc×wc
6         cb*++
7    end
end