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

Error message on dim #21

Open
zaimawang opened this issue Mar 24, 2018 · 0 comments
Open

Error message on dim #21

zaimawang opened this issue Mar 24, 2018 · 0 comments

Comments

@zaimawang
Copy link

RuntimeError Traceback (most recent call last)
in ()
25
26 # The given dimensions dim0 and dim1 are swapped.
---> 27 inputs = inputs.transpose(3, dim1=1, dim2=2)
28 # Propagate input through RNN
29 # Input: (seq_len, batch_size, input_size) when batch_first=False (default)

RuntimeError: transpose() got an unexpected keyword argument 'dim2'

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

No branches or pull requests

1 participant