Skip to content
This repository was archived by the owner on Jul 7, 2023. It is now read-only.

Commit 948b32b

Browse files
kngxscnlukaszkaiser
authored andcommitted
Fix bug: "is_generate_per_split" should be set to property. (#1322)
1 parent 0fe4220 commit 948b32b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tensor2tensor/data_generators/translate.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
class TranslateProblem(text_problems.Text2TextProblem):
3737
"""Base class for translation problems."""
3838

39+
@property
3940
def is_generate_per_split(self):
4041
return True
4142

0 commit comments

Comments
 (0)