philipperemy / keras-attention

Keras Attention Layer (Luong and Bahdanau scores).
Apache License 2.0
2.8k stars 677 forks source link

TypeError: __call__() takes 2 positional arguments but 3 were given #64

Closed sxk000 closed 1 year ago

sxk000 commented 2 years ago

when i use the code,got TypeError: call() takes 2 positional arguments but 3 were given

whta is the problem? how to fix it ?

thinks

philipperemy commented 1 year ago

@sxk000 can you be a bit more precise? Thanks.

philipperemy commented 1 year ago

Closing this issue as it lacks of clarity.