未验证 提交 e4ab0ebe 编写于 作者: A andyjpaddle 提交者: GitHub

Merge pull request #5950 from LDOUBLEV/dygraph

fix rec output name error
......@@ -327,6 +327,10 @@ def get_output_tensors(args, mode, predictor):
for output_name in output_names:
output_tensor = predictor.get_output_handle(output_name)
output_tensors.append(output_tensor)
else:
for output_name in output_names:
output_tensor = predictor.get_output_handle(output_name)
output_tensors.append(output_tensor)
return output_tensors
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册