Permalink
Show file tree
Hide file tree
22 changes: 22 additions & 0 deletions
22
tensorflow/python/kernel_tests/random/candidate_sampler_ops_test.py
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Add true_classes input validation for candidate sampler ops.
The values must be within the valid range of the sampler. Added a check for this. PiperOrigin-RevId: 479441496
- Loading branch information
1 parent
42d7ad5
commit b389f5c
Showing
2 changed files
with
30 additions
and
0 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