-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds dtype constraint enforcement, various bug fixes and improvements
- Adds a new `test_all_public_apis_verified` test that will ensure that all public APIs that accept or return tensor types indicate their data type constraints. - Updates `test_dtype_constraints` to work with methods. - Fixes a bug in `conf.py` that was preventing the doc generation from correctly checking for dtype constraint information on methods. - Adds support for checking data types of sequence arguments. - Renames `@constraints.dtype_info` to `@constraints.dtypes` and makes various argument names shorter. - Updates `convert_inputs_to_tensors` to require argument names of arguments to convert to be explicitly specified instead of converting all arguments by default.
- Loading branch information
1 parent
1b02e32
commit 8923f16
Showing
48 changed files
with
506 additions
and
476 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
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
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.