![Checkout](https://naologiccom.imgix.net/website-update/general/checkout.png?auto=compress&w=64&fm=png)
Start free trial
Take Naologic for a spin today, no credit card needed and no obligations.
Start free trial Question
Attention Mechanism - What is the attention mechanism in Gru?
Answer
In Gru, the attention mechanism is made up of an encoder that takes the input and makes an attention vector, and a decoder that makes a hidden state. The decoder does this by treating the encoder's output as input.