-
Notifications
You must be signed in to change notification settings - Fork 143
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add tests for issue #1074 and update Categorify args
Add tests for issue #1074 on adding a start_index argument to the Categorify op. The motivation for this issue is to allow an offset for encoding out-of-vocabulary and other special values. In this commit, we add a test function to test various values of our new start_index arg in tests/unit/ops/text_ops.py and add a start_value arg to the class signature for Categorify(), documentation for its intended function in Categorify()'s docstring, a start_value arg to FitOptions(), and documentation for this new argument in FitOptions()'s docstring.
- Loading branch information
Adam Lesnikowski
committed
Sep 2, 2021
1 parent
b74a1a0
commit 642e5f5
Showing
2 changed files
with
45 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