February 2019
Beginner to intermediate
308 pages
7h 42m
English
Finally, the output gate controls how much information is to be retained in the hidden state. The output gate is highlighted in the following diagram:

First, we concatenate the Previous Hidden State (ht−1) and the current Input (xt), and pass it through a sigmoid function. Then, we take the current cell state (Ct) and pass it through a tanh function. Finally, we take the multiplication of the two, which is passed to the next repeating unit as the hidden state (ht). This process is summarized by the following equation:
