-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
llvm/OneHot: Implement all modes (#3124)
Refactor Python OneHot implementation. Add tests for OneHot(mode=DETERMINISTIC). Refactor compiled OneHot to isolate PROB and PROB_INDICATOR. Convert recursive traversal of arrays from generator to context manager. Implement compiled random integer generation for bounded integers. Implement all OneHot modes in compiled mode.
- Loading branch information
Showing
11 changed files
with
739 additions
and
296 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
Oops, something went wrong.