awd-lstm-lm icon indicating copy to clipboard operation
awd-lstm-lm copied to clipboard

Why there are two times log_softmax in splitcross.py

Open marcwww opened this issue 5 years ago • 2 comments

It seems the tail_res go through log_softmax twice: line 65 and line 163.

What is the meaning behind it? Thanks a lot.

marcwww avatar Feb 28 '19 14:02 marcwww

Hi @marcwww , I suspect it is an error as pointed out in #62 and #82 .

lorelupo avatar Apr 05 '19 11:04 lorelupo

Hi @marcwww , I suspect it is an error as pointed out in #62 and #82 .

Thanks a lot. Hoping the author could fix it if it is indeed an error.

marcwww avatar Apr 05 '19 15:04 marcwww