asyml / texar-pytorch

Integrating the Best of TF into PyTorch, for Machine Learning, Natural Language Processing, and Text Generation. This is part of the CASL project: http://casl-project.ai/
https://asyml.io
Apache License 2.0
745 stars 117 forks source link

Fix top k beam index calculation issue #330

Closed TomNong closed 4 years ago

TomNong commented 4 years ago

This commit is to solved #327

codecov[bot] commented 4 years ago

Codecov Report

Merging #330 (1ef31af) into master (a061b45) will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #330   +/-   ##
=======================================
  Coverage   80.14%   80.14%           
=======================================
  Files         135      135           
  Lines       11220    11220           
=======================================
  Hits         8992     8992           
  Misses       2228     2228           
Impacted Files Coverage Δ
texar/torch/utils/beam_search.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update a061b45...1ef31af. Read the comment docs.