提交 d0a6d805 编写于 作者: Y yinhaofeng

add some notes

上级 ca3524e0
...@@ -79,8 +79,7 @@ class Reader(dg.MultiSlotDataGenerator): ...@@ -79,8 +79,7 @@ class Reader(dg.MultiSlotDataGenerator):
v = i[1] v = i[1]
for j in v: for j in v:
s += " " + k + ":" + str(j) s += " " + k + ":" + str(j)
print(s.strip()) print(s.strip()) # add print for data preprocessing
yield None
return data_iter return data_iter
......
...@@ -156,9 +156,7 @@ class Reader(dg.MultiSlotDataGenerator): ...@@ -156,9 +156,7 @@ class Reader(dg.MultiSlotDataGenerator):
v = i[1] v = i[1]
for j in v: for j in v:
s += " " + k + ":" + str(j) s += " " + k + ":" + str(j)
print(s.strip()) print(s.strip()) # add print for data preprocessing
yield None
return data_iter return data_iter
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册