OpenNLPLab / cosFormer

[ICLR 2022] Official implementation of cosformer-attention in cosFormer: Rethinking Softmax in Attention
Apache License 2.0
176 stars 25 forks source link

fix elu call bug #9

Open lwaekfjlk opened 2 years ago

lwaekfjlk commented 2 years ago

original code makes int type + function type