Which of the following best describes the concept of 'attention' in deep learning?
Answer
A mechanism that allows the model to focus on relevant parts of the input when producing an output.
Explanation
Attention computes a weighted sum of input representations, where weights are learned to highlight the most relevant information for the current task.
Last reviewed: October 2026
Reviewed by FirstInTest Editorial Team
Related questions
In a GAN, what is the primary role of the discriminator?
View question →
Which of the following is a common technique to handle class imbalance in deep learning?
View question →
Which of the following is a key characteristic of the Leaky ReLU activation function compared to the standard ReLU?
View question →
In the context of deep learning, which of the following is considered a hyperparameter?
View question →
Which of the following is a common method for initializing weights in deep neural networks to help with training?
View question →
What is the primary purpose of batch normalization in a deep neural network?
View question →