what ForwardTypePattern<tpu::ReshapeOp pattern did in ConvertTopToTpu pass?
Alicture opened this issue · comments
what this pattern did ? ForwardTypePatterntpu::ReshapeOp
I have dumped module before this pattern apply ,and did a compare to the module after this pattern apply.Noting changed.After read this pattern, it's seems did an infershape operation to reshape op?
Why apply this pattern after lowering other ops? shape-infer pass already did infershape before ConvertTopToTpu.