Make helper shows the correct output value

Change-Id: Ia5358f88129b5c2e2a2653b1d85c168b80d797b3
avx_docs
Yu Yang 9 years ago
parent 76a668cb63
commit c5d1902223

@ -1121,12 +1121,13 @@ def outputs(layers):
logger.info(
"".join(["The input order is [", ", ".join(final_inputs), "]"])
)
if len(final_outputs) == 0:
final_outputs = map(lambda x: x.name, layers)
logger.info(
"".join(["The output order is [", ", ".join(final_outputs), "]"
]))
Inputs(*final_inputs)
if len(final_outputs) != 0:
Outputs(*final_outputs)
else:
Outputs(*map(lambda x: x.name, layers))
Outputs(*final_outputs)

Loading…
Cancel
Save