-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* added test for random.permutation * added permutation that wraps shuffle with behaviour of np.random.permutation * update docstring * need to shuffle also the integer range input * fixed test for permutation with integer * tweak handling of random.permutation scalar case * NotImplementedError for random.permutation on >1d pending resolution to #2066 * address reviewer comments: improve tests Co-authored-by: Matthew Johnson <mattjj@google.com>
- Loading branch information
1 parent
fc4203c
commit e0d42e9
Showing
2 changed files
with
69 additions
and
3 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