-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix input names for quantize/dequantize ONNX backend tests (#6122)
### Description #6123 The input pb files for the following ONNX backend node tests have incorrect names that do not match the ONNX model: - test_dequantizelinear_uint4 - test_dequantizelinear_int4 - test_quantizelinear_e4m3fn - test_quantizelinear_e5m2 - test_quantizelinear_uint4 - test_quantizelinear_int4 ### Motivation and Context The mismatch in input names causes issues when running these backend tests via ONNX Runtime. --------- Signed-off-by: adrianlizarraga <adlizarraga@microsoft.com> (cherry picked from commit 3bddb4d)
- Loading branch information
1 parent
1fc5eb8
commit e310ba8
Showing
10 changed files
with
22 additions
and
26 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
3 changes: 1 addition & 2 deletions
3
onnx/backend/test/data/node/test_dequantizelinear_int4/test_data_set_0/input_2.pb
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
*B | ||
zero_point | ||
*Bx_zero_point |
3 changes: 1 addition & 2 deletions
3
onnx/backend/test/data/node/test_dequantizelinear_uint4/test_data_set_0/input_2.pb
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
*B | ||
zero_point | ||
*Bx_zero_point |
Binary file modified
BIN
+2 Bytes
(110%)
onnx/backend/test/data/node/test_quantizelinear_e4m3fn/test_data_set_0/input_2.pb
Binary file not shown.
Binary file modified
BIN
+2 Bytes
(110%)
onnx/backend/test/data/node/test_quantizelinear_e5m2/test_data_set_0/input_2.pb
Binary file not shown.
3 changes: 1 addition & 2 deletions
3
onnx/backend/test/data/node/test_quantizelinear_int4/test_data_set_0/input_2.pb
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
*B | ||
zero_point | ||
*By_zero_point |
3 changes: 1 addition & 2 deletions
3
onnx/backend/test/data/node/test_quantizelinear_uint4/test_data_set_0/input_2.pb
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
*B | ||
zero_point | ||
*By_zero_point |