We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In the paper, Attention is All You Need, query, key, value are linear transformed at the multi-head attention. `
Q = tf.layers.dense(queries, d_model, use_bias=True) # (N, T_q, d_model) K = tf.layers.dense(keys, d_model, use_bias=True) # (N, T_k, d_model) V = tf.layers.dense(values, d_model, use_bias=True) # (N, T_k, d_model)
` And I want to know whether value must be linear transformed at multi-head attention?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In the paper, Attention is All You Need, query, key, value are linear transformed at the multi-head attention.
`
`
And I want to know whether value must be linear transformed at multi-head attention?
The text was updated successfully, but these errors were encountered: