Closed trulyspinach closed 2 years ago
Also I did fix our CI to include forks. I took the liberty of merging main into your branch to force the CI. It's green now!
@petrohi Thanks! I've updated the format and added a test case that checks for the output. Could you push the model file here into tensil-models so the CI can pass? reshape_1d_4d.onnx.zip
I added test model to tensil-models
.
Thanks for the contribution @trulyspinach! :fire:
When performing a 1D to 4D reshape, the current implementation directly perform an in order remap which leads to an unexpected transpose from NCHW(1D) to NHWC thus make the accelerator outputs different result from other ONNX inference engine.
This can be easily reproduced with the following ONNX model: reshaper.onnx.zip
Generated with the following PyTorch code: