-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Bugfix][Relax] Set purity=false for LazySetOutput (#17119)
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.
- Loading branch information
1 parent
73cad19
commit 3c6ca5d
Showing
2 changed files
with
14 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters