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
attention_mlp = basic.BatchApply( mlp.MLP([self._mem_size] * self._attention_mlp_layers))
for _ in range(self._num_blocks): attended_memory = self._multihead_attention(memory)
shouldnt it be this
attended_memory = memory for _ in range(self._num_blocks): attended_memory = self._multihead_attention(attended_memory)
attended_memory = memory
for _ in range(self._num_blocks):
attended_memory = self._multihead_attention(attended_memory)
i know memory isn't changed in that function too, so isn't this expected to be redundant.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
attention_mlp = basic.BatchApply( mlp.MLP([self._mem_size] * self._attention_mlp_layers))
for _ in range(self._num_blocks): attended_memory = self._multihead_attention(memory)
shouldnt it be this
attended_memory = memory
for _ in range(self._num_blocks):
attended_memory = self._multihead_attention(attended_memory)
i know memory isn't changed in that function too, so isn't this expected to be redundant.
The text was updated successfully, but these errors were encountered: