aboutsummaryrefslogtreecommitdiff
path: root/operators/type_conversion/rescale/rescale_19x17_i8_outi8_sc1_dr1_pc1
diff options
context:
space:
mode:
Diffstat (limited to 'operators/type_conversion/rescale/rescale_19x17_i8_outi8_sc1_dr1_pc1')
-rw-r--r--operators/type_conversion/rescale/rescale_19x17_i8_outi8_sc1_dr1_pc1/Conformance-result-0.json366
-rw-r--r--operators/type_conversion/rescale/rescale_19x17_i8_outi8_sc1_dr1_pc1/desc.json24
-rw-r--r--operators/type_conversion/rescale/rescale_19x17_i8_outi8_sc1_dr1_pc1/input-0.json366
-rw-r--r--operators/type_conversion/rescale/rescale_19x17_i8_outi8_sc1_dr1_pc1/test.json94
4 files changed, 850 insertions, 0 deletions
diff --git a/operators/type_conversion/rescale/rescale_19x17_i8_outi8_sc1_dr1_pc1/Conformance-result-0.json b/operators/type_conversion/rescale/rescale_19x17_i8_outi8_sc1_dr1_pc1/Conformance-result-0.json
new file mode 100644
index 000000000..d94d66988
--- /dev/null
+++ b/operators/type_conversion/rescale/rescale_19x17_i8_outi8_sc1_dr1_pc1/Conformance-result-0.json
@@ -0,0 +1,366 @@
+{
+ "type": "int32",
+ "data": [
+ [
+ 16,
+ 23,
+ 33,
+ 125,
+ 127,
+ 22,
+ 25,
+ 1,
+ -7,
+ 1,
+ -9,
+ 69,
+ 23,
+ 94,
+ 127,
+ 3,
+ 50
+ ],
+ [
+ 27,
+ 33,
+ 17,
+ 42,
+ -8,
+ 69,
+ 27,
+ 4,
+ -9,
+ 69,
+ -7,
+ 34,
+ 127,
+ 4,
+ -4,
+ -8,
+ 54
+ ],
+ [
+ 30,
+ 9,
+ 13,
+ 64,
+ 52,
+ 40,
+ 4,
+ 6,
+ -2,
+ 50,
+ 1,
+ 5,
+ -3,
+ 53,
+ 7,
+ -3,
+ 42
+ ],
+ [
+ 6,
+ 15,
+ 34,
+ 8,
+ 77,
+ -11,
+ 10,
+ -5,
+ 10,
+ 13,
+ -8,
+ -12,
+ 14,
+ 13,
+ 30,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 9,
+ 53,
+ 127,
+ 32,
+ 5,
+ 0,
+ -1,
+ 39,
+ -10,
+ 28,
+ 89,
+ 21,
+ 57,
+ 3,
+ 13
+ ],
+ [
+ 27,
+ 14,
+ 18,
+ 35,
+ 127,
+ -12,
+ 13,
+ -6,
+ 6,
+ 24,
+ -7,
+ -8,
+ 127,
+ 37,
+ 38,
+ 17,
+ -11
+ ],
+ [
+ 9,
+ -4,
+ -5,
+ -13,
+ 19,
+ 79,
+ 8,
+ 17,
+ -5,
+ 63,
+ -9,
+ -4,
+ -15,
+ 102,
+ 123,
+ 14,
+ 51
+ ],
+ [
+ 3,
+ 23,
+ 18,
+ 91,
+ 113,
+ 33,
+ -11,
+ -9,
+ 0,
+ 43,
+ -2,
+ 36,
+ 27,
+ 33,
+ 76,
+ 21,
+ 24
+ ],
+ [
+ 16,
+ 24,
+ 9,
+ 127,
+ 116,
+ 70,
+ 21,
+ 7,
+ -10,
+ 45,
+ -9,
+ 39,
+ 127,
+ 56,
+ 47,
+ -9,
+ 34
+ ],
+ [
+ 18,
+ 12,
+ 30,
+ 127,
+ 84,
+ -9,
+ 27,
+ 2,
+ 4,
+ 78,
+ -6,
+ 40,
+ -14,
+ 100,
+ -5,
+ 7,
+ 12
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/type_conversion/rescale/rescale_19x17_i8_outi8_sc1_dr1_pc1/desc.json b/operators/type_conversion/rescale/rescale_19x17_i8_outi8_sc1_dr1_pc1/desc.json
new file mode 100644
index 000000000..7b8f68902
--- /dev/null
+++ b/operators/type_conversion/rescale/rescale_19x17_i8_outi8_sc1_dr1_pc1/desc.json
@@ -0,0 +1,24 @@
+{
+ "tosa_file": "test.json",
+ "ifm_name": [
+ "input-0"
+ ],
+ "ifm_file": [
+ "input-0.npy"
+ ],
+ "ofm_name": [
+ "result-0"
+ ],
+ "ofm_file": [
+ "result-0.npy"
+ ],
+ "expected_return_code": 0,
+ "expected_failure": false,
+ "expected_result_file": [
+ "Conformance-result-0.npy"
+ ],
+ "profile": [
+ "tosa-bi",
+ "tosa-mi"
+ ]
+} \ No newline at end of file
diff --git a/operators/type_conversion/rescale/rescale_19x17_i8_outi8_sc1_dr1_pc1/input-0.json b/operators/type_conversion/rescale/rescale_19x17_i8_outi8_sc1_dr1_pc1/input-0.json
new file mode 100644
index 000000000..2e41cf328
--- /dev/null
+++ b/operators/type_conversion/rescale/rescale_19x17_i8_outi8_sc1_dr1_pc1/input-0.json
@@ -0,0 +1,366 @@
+{
+ "type": "int32",
+ "data": [
+ [
+ 39,
+ 57,
+ 69,
+ 54,
+ 101,
+ -36,
+ 82,
+ -21,
+ -81,
+ -91,
+ -105,
+ 116,
+ -85,
+ 85,
+ 72,
+ -16,
+ 105
+ ],
+ [
+ 104,
+ 108,
+ -1,
+ -52,
+ -117,
+ 87,
+ 95,
+ 9,
+ -110,
+ 82,
+ -52,
+ 12,
+ 40,
+ -91,
+ -112,
+ -108,
+ 117
+ ],
+ [
+ 117,
+ -19,
+ -19,
+ -24,
+ -39,
+ 11,
+ -37,
+ 29,
+ -31,
+ 33,
+ 113,
+ -76,
+ -112,
+ 6,
+ -98,
+ -69,
+ 74
+ ],
+ [
+ -22,
+ 12,
+ 70,
+ -96,
+ -6,
+ -120,
+ -1,
+ -71,
+ 105,
+ -62,
+ -77,
+ -125,
+ -94,
+ -73,
+ -70,
+ 61,
+ 99
+ ],
+ [
+ 90,
+ 116,
+ 101,
+ -12,
+ -29,
+ 38,
+ -47,
+ 26,
+ 127,
+ -78,
+ 68,
+ 111,
+ 9,
+ -37,
+ -63,
+ -85,
+ -46
+ ],
+ [
+ 63,
+ 3,
+ -72,
+ 10,
+ 79,
+ -125,
+ -123,
+ 117,
+ 63,
+ 19,
+ 103,
+ 22,
+ 5,
+ -74,
+ 79,
+ 67,
+ -53
+ ],
+ [
+ 60,
+ 58,
+ -104,
+ -87,
+ 24,
+ 31,
+ 40,
+ -33,
+ 85,
+ -14,
+ -76,
+ -99,
+ 96,
+ 53,
+ -10,
+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0,
+ 10,
+ 41,
+ -8,
+ -122,
+ -109,
+ 0,
+ 17,
+ 59,
+ 18,
+ -80,
+ -35,
+ -15,
+ 123,
+ 8
+ ],
+ [
+ 34,
+ 60,
+ -36,
+ 118,
+ 44,
+ 89,
+ 63,
+ 31,
+ -121,
+ 21,
+ -95,
+ 26,
+ 51,
+ 11,
+ -50,
+ -113,
+ 43
+ ],
+ [
+ 50,
+ -6,
+ 55,
+ 71,
+ 3,
+ -116,
+ 94,
+ -9,
+ 44,
+ 105,
+ -36,
+ 31,
+ -123,
+ 98,
+ -113,
+ 10,
+ -38
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/type_conversion/rescale/rescale_19x17_i8_outi8_sc1_dr1_pc1/test.json b/operators/type_conversion/rescale/rescale_19x17_i8_outi8_sc1_dr1_pc1/test.json
new file mode 100644
index 000000000..a10052ff9
--- /dev/null
+++ b/operators/type_conversion/rescale/rescale_19x17_i8_outi8_sc1_dr1_pc1/test.json
@@ -0,0 +1,94 @@
+{
+ version: {
+ _major: 0,
+ _minor: 41,
+ _patch: 0,
+ _draft: true
+ },
+ blocks: [
+ {
+ name: "main",
+ operators: [
+ {
+ op: "RESCALE",
+ attribute_type: "RescaleAttribute",
+ attribute: {
+ input_zp: -119,
+ output_zp: -10,
+ multiplier: [
+ 1433411968,
+ 1626317824,
+ 1977500544,
+ 1676139648,
+ 1656328064,
+ 1644710400,
+ 1480598784,
+ 1905391488,
+ 1496870144,
+ 1680531584,
+ 1564826112,
+ 1432951552,
+ 2064876928,
+ 1089857920,
+ 1766615936,
+ 1110386048,
+ 1151389568
+ ],
+ shift: [
+ 33,
+ 33,
+ 33,
+ 31,
+ 31,
+ 32,
+ 33,
+ 34,
+ 34,
+ 32,
+ 35,
+ 32,
+ 31,
+ 31,
+ 31,
+ 33,
+ 32
+ ],
+ scale32: true,
+ double_round: true,
+ per_channel: true
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 19,
+ 17
+ ],
+ type: "INT8"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 19,
+ 17
+ ],
+ type: "INT8"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}