jikechao commented on PR #14546:
URL: https://github.com/apache/tvm/pull/14546#issuecomment-1502691944

   @yongwww @vvchernov Thanks for your review. 
   I tried to construct a test case to trigger this bug but failed. By 
analyzing the source code, I found that the wrong logic statement is in a dead 
code.  Specifically, when the `op_name=='conv2d_transpose' and layout='NHWC'`, 
the layout was reset to 'NCHW' in this 
[line](https://github.com/apache/tvm/blob/778749629c420121fbb9e28e9b356871e95554e8/python/tvm/relay/frontend/tensorflow_ops.py#:~:text=if%20opname%20%3D%3D%20%22conv_transpose%22%20and,%22data_format%22%5D%20%3D%20%22NCHW%22).
 Thus, the condition `if attr["data_format"] == "NHWC"` always be `False`.  
   I deleted the wrong logic in the dead code. Please help me review it again. 
Thanks!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to