Hi, when I load a Tensorflow graph into Relay, I encountered a “NHWC” supporting issue. I have two questions listed as follows,
As an example is given in the tutorial about importing Tensorflow protobuf into Relay and it works well, I wonder how this pre-trained model is generated?
Can you post the specific error you encountered? The Tensorflow frontend supports both NCHW and NHWC layouts so it should work fine, there might just be a bug in one of the ops.
However the conversion implies lots of transpose operators which are expensive. We did some benchmarks. In addition, since the transpose operators are not yet quantized in TVM (although is very easy to add this support) it breaks the sequence of quantized conv2d requiring int to float conversions back and fort