-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refine constant-hoisting heuristic for closure_convert
Instead of hoisting all float-type arrays during closure conversion, only hoist JVPTracers (or tracers carrying such tracers indirectly). Doing so better approximates the subset of closure-captured values that participate in AD. Co-authored-by: Matthew Johnson <mattjj@google.com>
- Loading branch information
Showing
2 changed files
with
11 additions
and
9 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