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

Commit 90e72af

Browse files
committed
Fix naming
1 parent 14f8083 commit 90e72af

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

tensor2tensor/data_generators/all_problems.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
# pylint: disable=unused-import
2222
from tensor2tensor.data_generators import algorithmic
2323
from tensor2tensor.data_generators import algorithmic_math
24-
from tensor2tensor.data_generators import algorithmic_cipher
2524
from tensor2tensor.data_generators import audio
25+
from tensor2tensor.data_generators import cipher
2626
from tensor2tensor.data_generators import image
2727
from tensor2tensor.data_generators import lm1b
2828
from tensor2tensor.data_generators import ptb

tensor2tensor/data_generators/algorithmic_cipher.py renamed to tensor2tensor/data_generators/cipher.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77

88
@registry.register_problem
9-
class AlgorithmicShiftCipher5(algorithmic.AlgorithmicProblem):
9+
class CipherShift5(algorithmic.AlgorithmicProblem):
1010

1111
@property
1212
def num_symbols(self):
@@ -48,7 +48,7 @@ def dev_length(self):
4848

4949

5050
@registry.register_problem
51-
class AlgorithmicVigenereCipher5(algorithmic.AlgorithmicProblem):
51+
class CipherVigenere5(algorithmic.AlgorithmicProblem):
5252

5353
@property
5454
def num_symbols(self):
@@ -90,7 +90,7 @@ def dev_length(self):
9090

9191

9292
@registry.register_problem
93-
class AlgorithmicShiftCipher200(AlgorithmicShiftCipher5):
93+
class CipherShift200(CipherShift5):
9494

9595
@property
9696
def num_symbols(self):
@@ -104,7 +104,7 @@ def distribution(self):
104104

105105

106106
@registry.register_problem
107-
class AlgorithmicVigenereCipher200(AlgorithmicVigenereCipher5):
107+
class CipherVigenere200(CipherVigenere5):
108108

109109
@property
110110
def num_symbols(self):

0 commit comments

Comments
 (0)