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

batch_first flag #187

Open
nankeqin opened this issue May 12, 2021 · 1 comment
Open

batch_first flag #187

nankeqin opened this issue May 12, 2021 · 1 comment
Labels

Comments

@nankeqin
Copy link

Can I add a batch_first flag? And how?

@taoleicn
Copy link
Contributor

hi @nankeqin, there is no batch_first option in SRU forward.
You can add a wrapper over SRU module with this option, or transpose your model input into length_first before calling SRU.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants