tvm
tvm copied to clipboard
[Unity][TIR] Clear struct info when specializing PrimFunc
trafficstars
In rare cases, a PrimFunc may be annotated with StructInfo, to indicate that it is an impure function with specific shapes for the parameters. If struct info is present, it is invalidated when specializing a PrimFunc, and should be cleared.