forked from pytorch/pytorch
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[quant][improvement] Added quantized fill test for per channel quanti…
…zed tensors Summary: Previously, the quantization test suite only tested the fill operator for per tensor quantized tensors. This PR adds a test case for per channel quantized tensors. The existing `test_qtensor_fill`, which the newly introduced test function `test_qtensor_fill_per_channel` is based on, case had some ambiguous naming conventions. This PR renames some of those variables to be clearer. Test Plan: ``` python test/test_quantization.py test_qtensor_fill_per_channel ``` Pull Request resolved: pytorch#78661 Approved by: https://github.com/jerryzh168
- Loading branch information
1 parent
9da5def
commit 0d176be
Showing
1 changed file
with
41 additions
and
13 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