Skip to content
New issue

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

fix pad bug #14

Merged
merged 1 commit into from
Jan 14, 2023
Merged

fix pad bug #14

merged 1 commit into from
Jan 14, 2023

Conversation

GJ98
Copy link

@GJ98 GJ98 commented Jan 13, 2023

fix potential bug in the pad mask. by fix k.ne(self.src_pad_idx) and q.ne(self.src_pad_idx) to k.ne(k_pad_idx) and q.ne(q_pad_idx)

fix potential bug in the pad mask. by fix `k.ne(self.src_pad_idx)` and `q.ne(self.src_pad_idx)` to `k.ne(k_pad_idx)` and `q.ne(q_pad_idx)`
@hyunwoongko hyunwoongko merged commit 424c6da into hyunwoongko:master Jan 14, 2023
ChaiZhi pushed a commit to ChaiZhi/transformer that referenced this pull request May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants