Sure, I think you can add this into the `SimplifyExpr` pass. I thought about
this before, but I think that the reshape op might be inlined in the fused op.
---
[Visit Topic](https://discuss.tvm.apache.org/t/remove-extra-reshape/8212/2) to
respond.
You are receiving this because you enable
In current relay pass, we can merge two consecutive reshape op by
`SimplifyExpr` pass. Sometimes, We may produce useless reshape op in the
process of importing models. For example:
#[version = "0.0.5"]
def @main(%Placeholder: Tensor[(1, 3, 227, 227), float32], %conv1/weights:
Tensor[(