-
Notifications
You must be signed in to change notification settings - Fork 19.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow rank > 2 for input shapes in numerical_utils (#19020)
* Allow rank > 2 for input shapes in numerical_utils * Update `utils/numerical_utils.py` to support input shapes with a rank greater than two. * when the output_mode is `multi_hot`, `one_hot`, or `int` #18995 * Add more test cases for one_hot and multi_hot * Refactor binary_output check for input rank validation Moved binary_output evaluation to start.
- Loading branch information
1 parent
62471f2
commit 6f35f2e
Showing
2 changed files
with
49 additions
and
40 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