ah-cheng opened a new pull request, #11034: URL: https://github.com/apache/tvm/pull/11034
Hi, my onnx model is superpoint. it`s converted from a pytorch model. When I import the model. I get the relay as follow: ` ... %38 = transpose(%37, axes=[0, 1, 3, 2, 4]); %39 = reshape(%38, newshape=[1, 480, 640]); %40 = nn.max_pool2d(%39, pool_size=[9, 9], padding=[4, 4, 4, 4], layout="NCW"); %41 = equal(%39, %40); cast(%41, dtype="float32") ` The model layer in Netron is:  Then we can see the %39 reshape is a 3 dimensions. It is legal in pytorch model. But in ONNX, I will get a error. Then I will add a `expand_dims` before pool2D and a squeeze after pool2D like the code I commited. But i don`t know how to add a unit test case. because there will be error in onnxruntime if the pool2D shape is 3D.  cc: @MatthewARM @jwfromm @AndrewZhaoLuo -- 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]
