I would like to share the solution to my problem described in the previous 
comment.

The issue is that I defined the set of outputs of the model as a set using as 
follows:

```
outputs = {'output1', 'output2', 'output3'}
mod, params = relay.frontend.from_tensorflow(graph_def, layout=layout, 
outputs=outputs, shape=shape_dict)
```

This results in a random order of the outputs when the set is indexed. I used 
this as I found an example setting the outputs as a set, however, the right way 
is with a list as follows:

```
outputs = ['output1', 'output2', 'output3']
mod, params = relay.frontend.from_tensorflow(graph_def, layout=layout, 
outputs=outputs, shape=shape_dict)
```





---
[Visit 
Topic](https://discuss.tvm.ai/t/how-to-get-multi-output-from-module-get-output/132/10)
 to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click 
here](https://discuss.tvm.ai/email/unsubscribe/388c5ab21c02444bddf3fa3491fe654c20830c13f1d68de98611f2f50f220847).

Tianqi Chen, UW, Seattle, WA, 98105, United States
http://tracking.discuss.tvm.ai/tracking/unsubscribe?msgid=RIhHiWMJ3BM4oi57qeMptQ2

Reply via email to