-
Notifications
You must be signed in to change notification settings - Fork 722
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use
tf.while_loop
to sample slots in PenalizedPlackettLuce
.
This is more efficient than using a for loop, especially when the number of slots is large. PiperOrigin-RevId: 650275537 Change-Id: I6c8f4d5975020da9aff9c98d6405da84920eecd5
- Loading branch information
1 parent
c846013
commit c0ef082
Showing
2 changed files
with
117 additions
and
33 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