Skip to main content
. 2018 Feb 24;18(2):679. doi: 10.3390/s18020679

Figure 5.

Figure 5

Architecture of a LSTM network for sensor-based HAR (left). The intermediate and last LSTM layers are organized in a many-to-many and many-to-one layout, respectively. Each LSTM layer is composed of LSTM cells (right). xt, mt and ct represent the cell input, memory, and output at time t, respectively. In addition, ⨁ and ⨂ refer to the element-wise addition and multiplication, respectively. W*, U*, b* and σ* designate internal weight matrices, bias vector and activation function (for gate *{i,o,f}). σ1 and σ2 are internal activation functions applied on the input and memory of the cell, respectively.