aboutsummaryrefslogtreecommitdiff
path: root/operators/type_conversion/rescale/rescale_19x17_i8_outi16_sc1_dr0_pc1
diff options
context:
space:
mode:
Diffstat (limited to 'operators/type_conversion/rescale/rescale_19x17_i8_outi16_sc1_dr0_pc1')
-rw-r--r--operators/type_conversion/rescale/rescale_19x17_i8_outi16_sc1_dr0_pc1/Conformance-result-0.json366
-rw-r--r--operators/type_conversion/rescale/rescale_19x17_i8_outi16_sc1_dr0_pc1/desc.json24
-rw-r--r--operators/type_conversion/rescale/rescale_19x17_i8_outi16_sc1_dr0_pc1/input-0.json366
-rw-r--r--operators/type_conversion/rescale/rescale_19x17_i8_outi16_sc1_dr0_pc1/test.json94
4 files changed, 850 insertions, 0 deletions
diff --git a/operators/type_conversion/rescale/rescale_19x17_i8_outi16_sc1_dr0_pc1/Conformance-result-0.json b/operators/type_conversion/rescale/rescale_19x17_i8_outi16_sc1_dr0_pc1/Conformance-result-0.json
new file mode 100644
index 000000000..d5df3748b
--- /dev/null
+++ b/operators/type_conversion/rescale/rescale_19x17_i8_outi16_sc1_dr0_pc1/Conformance-result-0.json
@@ -0,0 +1,366 @@
+{
+ "type": "int32",
+ "data": [
+ [
+ 4160,
+ -3916,
+ 8979,
+ 4499,
+ -5233,
+ 12736,
+ -2021,
+ 1184,
+ 201,
+ 8288,
+ 9478,
+ -53,
+ -312,
+ 3618,
+ 14243,
+ 5499,
+ 10726
+ ],
+ [
+ 3345,
+ 7751,
+ 16974,
+ -5432,
+ 6105,
+ -7949,
+ 3575,
+ 0,
+ -193,
+ 13849,
+ 5878,
+ 2334,
+ 12888,
+ -3021,
+ 6419,
+ -2603,
+ -4951
+ ],
+ [
+ -2316,
+ 3100,
+ 7380,
+ 5048,
+ 1370,
+ 11881,
+ -466,
+ -1851,
+ -741,
+ -7524,
+ 882,
+ 212,
+ 12160,
+ -2743,
+ -3410,
+ 6255,
+ -11080
+ ],
+ [
+ 300,
+ -4161,
+ 4305,
+ 8120,
+ -5357,
+ -598,
+ 1010,
+ 3126,
+ 1216,
+ -8397,
+ 1763,
+ 4827,
+ -10289,
+ 4174,
+ -3912,
+ 1301,
+ 17563
+ ],
+ [
+ 2616,
+ 12401,
+ 6519,
+ -2634,
+ 9469,
+ 4787,
+ -1710,
+ -2489,
+ 515,
+ 5016,
+ 7127,
+ -3660,
+ 3742,
+ 4293,
+ 12738,
+ 5835,
+ -5540
+ ],
+ [
+ -2445,
+ 3753,
+ 2091,
+ -2304,
+ -9344,
+ -5556,
+ -1166,
+ 2671,
+ -685,
+ -8179,
+ -2498,
+ 6471,
+ 15798,
+ 437,
+ -9027,
+ -4114,
+ 13909
+ ],
+ [
+ 515,
+ -6690,
+ 13776,
+ 1865,
+ -1495,
+ 1197,
+ -3419,
+ 4158,
+ 805,
+ -5561,
+ 6392,
+ -2971,
+ 1559,
+ 3578,
+ -9228,
+ 3526,
+ -5186
+ ],
+ [
+ 3302,
+ 2121,
+ -11685,
+ 5157,
+ -4361,
+ 12138,
+ 8859,
+ -1578,
+ 419,
+ -981,
+ 3894,
+ 2175,
+ -2702,
+ 2584,
+ -3511,
+ 5499,
+ 16620
+ ],
+ [
+ -2530,
+ 6935,
+ 16728,
+ -3786,
+ 10964,
+ 11881,
+ -3419,
+ 1457,
+ 830,
+ -1745,
+ -3012,
+ 0,
+ -1663,
+ 3339,
+ -702,
+ -210,
+ 16502
+ ],
+ [
+ 2016,
+ 11096,
+ 9840,
+ 6858,
+ -6354,
+ 11881,
+ 10880,
+ -2762,
+ -81,
+ 436,
+ 441,
+ 5198,
+ 8003,
+ -1868,
+ 5416,
+ 6213,
+ 1297
+ ],
+ [
+ 5832,
+ 5303,
+ 16605,
+ 7132,
+ -12085,
+ 8804,
+ -4119,
+ 3338,
+ 846,
+ -3817,
+ -6245,
+ 318,
+ -2494,
+ 1590,
+ -8125,
+ -3778,
+ 1179
+ ],
+ [
+ 4117,
+ -1713,
+ -2337,
+ -3292,
+ -3613,
+ -2137,
+ -2720,
+ -425,
+ -234,
+ 7960,
+ -1102,
+ 4880,
+ 5508,
+ 2465,
+ 4815,
+ 5667,
+ -4243
+ ],
+ [
+ 6433,
+ -3998,
+ -8118,
+ 6035,
+ 15947,
+ -6667,
+ 4041,
+ 910,
+ -362,
+ 3490,
+ 5437,
+ 2387,
+ 3326,
+ 4969,
+ -4413,
+ 2435,
+ -2357
+ ],
+ [
+ 6347,
+ -3019,
+ 15006,
+ 3292,
+ -5856,
+ 7949,
+ -3109,
+ -1032,
+ -105,
+ 7960,
+ -73,
+ 2334,
+ 4157,
+ -2027,
+ -4213,
+ -966,
+ -5304
+ ],
+ [
+ 5747,
+ -326,
+ 246,
+ 3895,
+ 12459,
+ 6411,
+ 3109,
+ 4492,
+ 1039,
+ -5452,
+ -4482,
+ -53,
+ 11640,
+ 5764,
+ 7824,
+ 3148,
+ -4951
+ ],
+ [
+ 2144,
+ -4406,
+ 4551,
+ -2853,
+ -10216,
+ 12480,
+ 9870,
+ 2246,
+ 475,
+ -4362,
+ 3306,
+ 4774,
+ 3845,
+ -1153,
+ -100,
+ 4786,
+ -4243
+ ],
+ [
+ 6218,
+ 7506,
+ 15498,
+ 1591,
+ -5482,
+ -7949,
+ 2720,
+ 30,
+ -580,
+ 14830,
+ 10800,
+ -318,
+ 7275,
+ 159,
+ 2608,
+ 2435,
+ 589
+ ],
+ [
+ 4460,
+ -4324,
+ 8610,
+ 8230,
+ 14452,
+ -7693,
+ -5595,
+ 1791,
+ 1087,
+ 12540,
+ 9551,
+ -3342,
+ 3222,
+ 3339,
+ 5818,
+ 4072,
+ -5540
+ ],
+ [
+ 686,
+ 1061,
+ 17097,
+ -2743,
+ -2243,
+ -8206,
+ -4896,
+ 4552,
+ 934,
+ -3817,
+ 5731,
+ 2652,
+ 13615,
+ -994,
+ 15346,
+ -294,
+ 9666
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/type_conversion/rescale/rescale_19x17_i8_outi16_sc1_dr0_pc1/desc.json b/operators/type_conversion/rescale/rescale_19x17_i8_outi16_sc1_dr0_pc1/desc.json
new file mode 100644
index 000000000..7b8f68902
--- /dev/null
+++ b/operators/type_conversion/rescale/rescale_19x17_i8_outi16_sc1_dr0_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_outi16_sc1_dr0_pc1/input-0.json b/operators/type_conversion/rescale/rescale_19x17_i8_outi16_sc1_dr0_pc1/input-0.json
new file mode 100644
index 000000000..71ce911b9
--- /dev/null
+++ b/operators/type_conversion/rescale/rescale_19x17_i8_outi16_sc1_dr0_pc1/input-0.json
@@ -0,0 +1,366 @@
+{
+ "type": "int32",
+ "data": [
+ [
+ 70,
+ -75,
+ 46,
+ 55,
+ -69,
+ 122,
+ -53,
+ 12,
+ -2,
+ 49,
+ 102,
+ -28,
+ -30,
+ 64,
+ 115,
+ 104,
+ 64
+ ],
+ [
+ 51,
+ 68,
+ 111,
+ -126,
+ 22,
+ -120,
+ 19,
+ -27,
+ -51,
+ 100,
+ 53,
+ 17,
+ 97,
+ -103,
+ 37,
+ -89,
+ -69
+ ],
+ [
+ -81,
+ 11,
+ 33,
+ 65,
+ -16,
+ 112,
+ -33,
+ -88,
+ -119,
+ -96,
+ -15,
+ -23,
+ 90,
+ -96,
+ -61,
+ 122,
+ -121
+ ],
+ [
+ -20,
+ -78,
+ 8,
+ 121,
+ -70,
+ -34,
+ -14,
+ 76,
+ 124,
+ -104,
+ -3,
+ 64,
+ -126,
+ 78,
+ -66,
+ 4,
+ 122
+ ],
+ [
+ 34,
+ 125,
+ 26,
+ -75,
+ 49,
+ 29,
+ -49,
+ -109,
+ 37,
+ 19,
+ 70,
+ -96,
+ 9,
+ 81,
+ 100,
+ 112,
+ -74
+ ],
+ [
+ -84,
+ 19,
+ -10,
+ -69,
+ -102,
+ -92,
+ -42,
+ 61,
+ -112,
+ -102,
+ -61,
+ 95,
+ 125,
+ -16,
+ -117,
+ -125,
+ 91
+ ],
+ [
+ -15,
+ -109,
+ 85,
+ 7,
+ -39,
+ -13,
+ -71,
+ 110,
+ 73,
+ -78,
+ 60,
+ -83,
+ -12,
+ 63,
+ -119,
+ 57,
+ -71
+ ],
+ [
+ 50,
+ -1,
+ -122,
+ 67,
+ -62,
+ 115,
+ 87,
+ -79,
+ 25,
+ -36,
+ 26,
+ 14,
+ -53,
+ 38,
+ -62,
+ 104,
+ 114
+ ],
+ [
+ -86,
+ 58,
+ 109,
+ -96,
+ 61,
+ 112,
+ -71,
+ 21,
+ 76,
+ -43,
+ -68,
+ -27,
+ -43,
+ 57,
+ -34,
+ -32,
+ 113
+ ],
+ [
+ 20,
+ 109,
+ 53,
+ 98,
+ -78,
+ 112,
+ 113,
+ -118,
+ -37,
+ -23,
+ -21,
+ 71,
+ 50,
+ -74,
+ 27,
+ 121,
+ -16
+ ],
+ [
+ 109,
+ 38,
+ 108,
+ 103,
+ -124,
+ 76,
+ -80,
+ 83,
+ 78,
+ -62,
+ -112,
+ -21,
+ -51,
+ 13,
+ -108,
+ -117,
+ -17
+ ],
+ [
+ 69,
+ -48,
+ -46,
+ -87,
+ -56,
+ -52,
+ -62,
+ -41,
+ -56,
+ 46,
+ -42,
+ 65,
+ 26,
+ 35,
+ 21,
+ 108,
+ -63
+ ],
+ [
+ 123,
+ -76,
+ -93,
+ 83,
+ 101,
+ -105,
+ 25,
+ 3,
+ -72,
+ 5,
+ 47,
+ 18,
+ 5,
+ 98,
+ -71,
+ 31,
+ -47
+ ],
+ [
+ 121,
+ -64,
+ 95,
+ 33,
+ -74,
+ 66,
+ -67,
+ -61,
+ -40,
+ 46,
+ -28,
+ 17,
+ 13,
+ -78,
+ -69,
+ -50,
+ -72
+ ],
+ [
+ 107,
+ -31,
+ -25,
+ 44,
+ 73,
+ 48,
+ 13,
+ 121,
+ 102,
+ -77,
+ -88,
+ -28,
+ 85,
+ 118,
+ 51,
+ 48,
+ -69
+ ],
+ [
+ 23,
+ -81,
+ 10,
+ -79,
+ -109,
+ 119,
+ 100,
+ 47,
+ 32,
+ -67,
+ 18,
+ 63,
+ 10,
+ -56,
+ -28,
+ 87,
+ -63
+ ],
+ [
+ 118,
+ 65,
+ 99,
+ 2,
+ -71,
+ -120,
+ 8,
+ -26,
+ -99,
+ 109,
+ 120,
+ -33,
+ 43,
+ -23,
+ -1,
+ 31,
+ -22
+ ],
+ [
+ 77,
+ -80,
+ 43,
+ 123,
+ 89,
+ -117,
+ -99,
+ 32,
+ 108,
+ 88,
+ 103,
+ -90,
+ 4,
+ 57,
+ 31,
+ 70,
+ -74
+ ],
+ [
+ -11,
+ -14,
+ 112,
+ -77,
+ -45,
+ -123,
+ -90,
+ 123,
+ 89,
+ -62,
+ 51,
+ 23,
+ 104,
+ -52,
+ 126,
+ -34,
+ 55
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/type_conversion/rescale/rescale_19x17_i8_outi16_sc1_dr0_pc1/test.json b/operators/type_conversion/rescale/rescale_19x17_i8_outi16_sc1_dr0_pc1/test.json
new file mode 100644
index 000000000..d37b74d6b
--- /dev/null
+++ b/operators/type_conversion/rescale/rescale_19x17_i8_outi16_sc1_dr0_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: -27,
+ output_zp: 0,
+ multiplier: [
+ 1439014784,
+ 1368805504,
+ 2063594880,
+ 1840971776,
+ 2090203264,
+ 1434083584,
+ 1303815040,
+ 2036706560,
+ 1080969472,
+ 1829516032,
+ 1232614912,
+ 1779894016,
+ 1743686528,
+ 1333932544,
+ 1682805248,
+ 1408593920,
+ 1977577344
+ ],
+ shift: [
+ 25,
+ 24,
+ 24,
+ 25,
+ 24,
+ 24,
+ 24,
+ 26,
+ 27,
+ 24,
+ 24,
+ 25,
+ 24,
+ 25,
+ 24,
+ 25,
+ 24
+ ],
+ scale32: true,
+ double_round: false,
+ 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: "INT16"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}