tvm icon indicating copy to clipboard operation
tvm copied to clipboard

[Unity][TIR] Clear struct info when specializing PrimFunc

Open Lunderberg opened this issue 1 year ago • 0 comments
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.

Lunderberg avatar Feb 16 '24 16:02 Lunderberg