kmkurn / pytorch-crf

(Linear-chain) Conditional random field in PyTorch.
https://pytorch-crf.readthedocs.io
MIT License
935 stars 151 forks source link

Issues about end_transitions #105

Closed w1091681793 closed 1 year ago

w1091681793 commented 1 year ago

Hi, the author, is it right to think the end_transitions can be deleted in def _compute_score??? Thanks.

kmkurn commented 1 year ago

If you don't need it then sure you can.