aboutsummaryrefslogtreecommitdiff
path: root/operators/type_conversion/rescale/rescale_1x7x2x1x5x9_i8_outi8_sc1_dr1_pc1/test.json
diff options
context:
space:
mode:
authorJeremy Johnson <jeremy.johnson@arm.com>2023-04-26 15:52:47 +0100
committerJeremy Johnson <jeremy.johnson@arm.com>2023-04-26 16:38:44 +0100
commitfe6e6eb29a416ad7618567d4365f8b65165694c1 (patch)
tree0c04b12b7b2b1d47ad1c0d2a214aa746c208e870 /operators/type_conversion/rescale/rescale_1x7x2x1x5x9_i8_outi8_sc1_dr1_pc1/test.json
parent92ccc0a3f268836538098b1c204ded4b9905b728 (diff)
downloadconformance_tests-fe6e6eb29a416ad7618567d4365f8b65165694c1.tar.gz
Updating TYPE_CONVERSION tests for 8k level support
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com> Change-Id: I1cceadb2d39ee445375b9f12c11a8075e12df6c5
Diffstat (limited to 'operators/type_conversion/rescale/rescale_1x7x2x1x5x9_i8_outi8_sc1_dr1_pc1/test.json')
-rw-r--r--operators/type_conversion/rescale/rescale_1x7x2x1x5x9_i8_outi8_sc1_dr1_pc1/test.json91
1 files changed, 91 insertions, 0 deletions
diff --git a/operators/type_conversion/rescale/rescale_1x7x2x1x5x9_i8_outi8_sc1_dr1_pc1/test.json b/operators/type_conversion/rescale/rescale_1x7x2x1x5x9_i8_outi8_sc1_dr1_pc1/test.json
new file mode 100644
index 000000000..c71e3fbb8
--- /dev/null
+++ b/operators/type_conversion/rescale/rescale_1x7x2x1x5x9_i8_outi8_sc1_dr1_pc1/test.json
@@ -0,0 +1,91 @@
+{
+ version: {
+ _major: 0,
+ _minor: 70,
+ _patch: 0,
+ _draft: true
+ },
+ regions: [
+ {
+ name: "main",
+ blocks: [
+ {
+ name: "main",
+ operators: [
+ {
+ op: "RESCALE",
+ attribute_type: "RescaleAttribute",
+ attribute: {
+ input_zp: 98,
+ output_zp: -61,
+ multiplier: [
+ 1140119296,
+ 1952618752,
+ 1809929984,
+ 1495960192,
+ 1238919552,
+ 1589578624,
+ 1965782144,
+ 2013695872,
+ 1805817856
+ ],
+ shift: [
+ 31,
+ 31,
+ 34,
+ 32,
+ 31,
+ 31,
+ 31,
+ 32,
+ 31
+ ],
+ scale32: true,
+ double_round: true,
+ per_channel: true
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 7,
+ 2,
+ 1,
+ 5,
+ 9
+ ],
+ type: "INT8"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 7,
+ 2,
+ 1,
+ 5,
+ 9
+ ],
+ type: "INT8"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+ }
+ ]
+}