提交 8a317fa2 编写于 作者: Y yinhaofeng

remove yield

上级 f145df7b
......@@ -80,7 +80,6 @@ class Reader(dg.MultiSlotDataGenerator):
for j in v:
s += " " + k + ":" + str(j)
print(s.strip())
yield None
return data_iter
......
......@@ -152,7 +152,6 @@ class Reader(dg.MultiSlotDataGenerator):
for j in v:
s += " " + k + ":" + str(j)
print(s.strip())
yield None
return data_iter
reader = Reader(
"../config.yaml") # run this file in original folder to find config.yaml
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册