Checkout
Personalized AI apps
Build multi-agent systems without code and automate document search, RAG and content generation
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.