[TVM Discuss] [Questions] Implementing new operators for TensorFlow

2019-08-13 Thread tico via TVM Discuss
@alopez_13 thanks for the nice initial draft!. I hope other experience members can also contribute to describe each of those steps in more detail. What is difficult about this is not only the amount of files that have to be modified but also that from one operator to another the are difference

[TVM Discuss] [Questions] How to get multi output from module.get_output()?

2019-08-14 Thread tico via TVM Discuss
Hi, I am testing a model with 3 outputs, however, when I use `m.get_output(0, ) ` for example for index 0, I always get different outputs. This means that the outputs are randomly mapped to the output indexes. Is this a bug? or is there any way to get the output indexes in a deterministic

[TVM Discuss] [Questions] [Quantization][AutoTVM] Performance degradation due to transpose ops when NCHW layout is used

2019-08-14 Thread tico via TVM Discuss
Hi @vinx13 Could you confirm please if only the NCHW layout can be quantized and not NHWC? Thanks --- [Visit Topic](https://discuss.tvm.ai/t/quantization-autotvm-performance-degradation-due-to-transpose-ops-when-nchw-layout-is-used/3561/8) to respond. You are receiving this because you

[TVM Discuss] [Questions] How to get multi output from module.get_output()?

2019-08-14 Thread tico via TVM Discuss
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, ou