Skip to content

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

@hzhwcmhf

Description

@hzhwcmhf

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

1000 should replaced by a class variable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions