未验证 提交 70cedfbd 编写于 作者: X Xiaoyao Xi 提交者: GitHub

Merge pull request #61 from wangxiao1021/api

fix bugs
......@@ -140,11 +140,8 @@ def create_iterator_fn(iterator, iterator_prefix, shape_and_dtypes, outname_to_p
def iterator_fn():
v = verbose
while True:
# results = _zero_batch(shape_and_dtypes)
for outputs in iterator:
results = [None] * len(outname_to_pos)
outputs = next(iterator) # dict type
prefix = iterator_prefix
for outname, val in outputs.items():
task_outname = prefix + '.' + outname
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册