We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dcca6b4 commit 6d829caCopy full SHA for 6d829ca
tutorials/rnn/ptb/reader.py
@@ -52,7 +52,7 @@ def _file_to_word_ids(filename, word_to_id):
52
return [word_to_id[word] for word in data if word in word_to_id]
53
54
55
-def ptb_raw_data(data_path=None):
+def ptb_raw_data(data_path):
56
"""Load PTB raw data from data directory "data_path".
57
58
Reads PTB text files, converts strings to integer ids,
0 commit comments