提交 96e1b3b0 编写于 作者: A Aston Zhang

fix tab

上级 bf315f9a
......@@ -379,7 +379,7 @@ def train_and_predict_rnn(rnn, is_random_iter, num_epochs, num_steps,
def data_iter(batch_size, features, labels):
"""Iterate through a data set."""
num_examples = len(features)
num_examples = len(features)
indices = list(range(num_examples))
random.shuffle(indices)
for i in range(0, num_examples, batch_size):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册