Closed fg91 closed 4 years ago
Current:
if len(h) > 1: ... apply TAR
However, len(h) gives the batch size and not the sequence length. Should this be changed to the following?
len(h)
if h.size(1) > 1: ... apply TAR
Check out this pull request on
You'll be able to see Jupyter notebook diff and discuss changes. Powered by ReviewNB.
Current:
However,
len(h)
gives the batch size and not the sequence length. Should this be changed to the following?