I observed that some pack ops not folded into reshape when I am working on https://github.com/openxla/iree/pull/16160. Below has some examples from EfficientNetV2STF model. There are unit dims, and the inner tile sizes are all ones, they can be simplified to a reshape op.
I observed that some pack ops not folded into reshape when I am working on https://github.com/openxla/iree/pull/16160. Below has some examples from EfficientNetV2STF model. There are unit dims, and the inner tile sizes are all ones, they can be simplified to a reshape op.
and