The relax.transform.LazySetOutput transformation updates a Relax function to produce output from a fset_output callback. In the initial implementation, the fset_output was marked as a pure function, which allowed it to be erroneously removed from a function.
This commit updates the relax::FuncStructInfo used to annotate fset_output, marking it as an impure function.
The
relax.transform.LazySetOutput
transformation updates a Relax function to produce output from afset_output
callback. In the initial implementation, thefset_output
was marked as a pure function, which allowed it to be erroneously removed from a function.This commit updates the
relax::FuncStructInfo
used to annotatefset_output
, marking it as an impure function.