-
Notifications
You must be signed in to change notification settings - Fork 58
TypeError: __call__() takes 2 positional arguments but 4 were given #56
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
Comments
Hi @Imorton-zd , you'll probably need to pass the inputs to that layer as a list:
|
Hi @lvapeab, thanks for your suggestion. However, I got another error after modification as your post.
The error is also met at the |
Hi, @MarcBS , please help me solve this problem when you have some time. |
Hi, @Imorton-zd , if you show us your code maybe we will be able to give you some hint about what might be failing. |
When using the AttGRUCond layer, the above code snippet yields a type error:
I would like to ask if the way using this layer is right? Thanks.
The text was updated successfully, but these errors were encountered: