Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Maintenance] Remove magic number in bleu.py #407

Open
hzhwcmhf opened this issue Jun 4, 2020 · 0 comments
Open

[Maintenance] Remove magic number in bleu.py #407

hzhwcmhf opened this issue Jun 4, 2020 · 0 comments
Labels
0.1.1 maintenance Maintain existing code new New issue

Comments

@hzhwcmhf
Copy link
Member

hzhwcmhf commented Jun 4, 2020

if self.sample >= 1000 and self.cpu_count > 1:

1000 should replaced by a class variable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.1.1 maintenance Maintain existing code new New issue
Projects
None yet
Development

No branches or pull requests

1 participant