We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af7514c commit 1056467Copy full SHA for 1056467
examples/data_preprocess/multiply.py
@@ -37,7 +37,7 @@ def gen_dataset(
37
for _ in tqdm(range(N)):
38
# Helper function to generate a number with 50% chance of being N-digit or N/2-digit
39
def get_random_num():
40
- r = randint(,3)
+ r = randint(0,3)
41
if r == 0:
42
# 2 digits less than original
43
max_num = 10**(DIGIT-2)
0 commit comments