-
Notifications
You must be signed in to change notification settings - Fork 318
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix dequantize_per_channel for single dimension input tensor (#3867)
Summary: Pull Request resolved: #3867 This diff has two fixes: - When the input dimension is 1, we need to handle that separately - Fixing logic in how dim_list is generated Reviewed By: larryliu0820 Differential Revision: D58221156 fbshipit-source-id: aee6b66952271e2724c27cb4efd04bc4f54434b1
- Loading branch information
1 parent
7028a71
commit c6fb9da
Showing
2 changed files
with
56 additions
and
9 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