Skip to content

Commit ff17f5d

Browse files
committed
Revert "Remove the default None for data_path, which is a required param."
This reverts commit 6d829ca.
1 parent 57bc50c commit ff17f5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tutorials/rnn/ptb/reader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def _file_to_word_ids(filename, word_to_id):
5252
return [word_to_id[word] for word in data if word in word_to_id]
5353

5454

55-
def ptb_raw_data(data_path):
55+
def ptb_raw_data(data_path=None):
5656
"""Load PTB raw data from data directory "data_path".
5757
5858
Reads PTB text files, converts strings to integer ids,

0 commit comments

Comments
 (0)