Skip to main content
. 2021 Dec 30;22(1):264. doi: 10.3390/s22010264
Algorithm 1. LSTM Mini-batch Layer
X represents the number of cells
Sj represents the # of PCAP cell
Input x=[x1, ..x128], xi
Given parameters:
Initialize
For t=1, , 128 do
        θj=θjα1128 k=ii+8(hθ(x(k))y(k))xj(k)
(for every j=0,., 128)
End for
for j=1 to X
Output: Δwoutjm=αδoutjyxm
Input: Δwinjm=αvescjvdSinjmjv
for v=1 to Sj
Sj total: ΔwPjmv=αescjv dSPjvmjv
end for
Output: h=[h1,, h128], hi0
end for