Unverified Commit e4ab0ebe authored by andyjpaddle's avatar andyjpaddle Committed by GitHub
Browse files

Merge pull request #5950 from LDOUBLEV/dygraph

fix rec output name error
parents a8318353 243f89da
...@@ -327,6 +327,10 @@ def get_output_tensors(args, mode, predictor): ...@@ -327,6 +327,10 @@ def get_output_tensors(args, mode, predictor):
for output_name in output_names: for output_name in output_names:
output_tensor = predictor.get_output_handle(output_name) output_tensor = predictor.get_output_handle(output_name)
output_tensors.append(output_tensor) 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 return output_tensors
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment