aboutsummaryrefslogtreecommitdiff
path: root/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_InputZeroPointNotZero_1x14x6x2_i16xi8_acci48_st11_pad0000_dilat11
diff options
context:
space:
mode:
Diffstat (limited to 'operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_InputZeroPointNotZero_1x14x6x2_i16xi8_acci48_st11_pad0000_dilat11')
-rw-r--r--operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_InputZeroPointNotZero_1x14x6x2_i16xi8_acci48_st11_pad0000_dilat11/desc.json22
-rw-r--r--operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_InputZeroPointNotZero_1x14x6x2_i16xi8_acci48_st11_pad0000_dilat11/input-0.json371
-rw-r--r--operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_InputZeroPointNotZero_1x14x6x2_i16xi8_acci48_st11_pad0000_dilat11/test.json179
3 files changed, 572 insertions, 0 deletions
diff --git a/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_InputZeroPointNotZero_1x14x6x2_i16xi8_acci48_st11_pad0000_dilat11/desc.json b/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_InputZeroPointNotZero_1x14x6x2_i16xi8_acci48_st11_pad0000_dilat11/desc.json
new file mode 100644
index 000000000..b8879370e
--- /dev/null
+++ b/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_InputZeroPointNotZero_1x14x6x2_i16xi8_acci48_st11_pad0000_dilat11/desc.json
@@ -0,0 +1,22 @@
+{
+ "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": 2,
+ "expected_failure": true,
+ "expected_failure_desc": "Input DType not INT8 and zero point not 0",
+ "profile": [
+ "tosa-bi",
+ "tosa-mi"
+ ]
+} \ No newline at end of file
diff --git a/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_InputZeroPointNotZero_1x14x6x2_i16xi8_acci48_st11_pad0000_dilat11/input-0.json b/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_InputZeroPointNotZero_1x14x6x2_i16xi8_acci48_st11_pad0000_dilat11/input-0.json
new file mode 100644
index 000000000..9e785908b
--- /dev/null
+++ b/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_InputZeroPointNotZero_1x14x6x2_i16xi8_acci48_st11_pad0000_dilat11/input-0.json
@@ -0,0 +1,371 @@
+{
+ "type": "int32",
+ "data": [
+ [
+ [
+ [
+ -9876,
+ 23698
+ ],
+ [
+ -819,
+ -7417
+ ],
+ [
+ -22482,
+ -11718
+ ],
+ [
+ 31115,
+ 14168
+ ],
+ [
+ 14820,
+ 25929
+ ],
+ [
+ -15276,
+ 10587
+ ]
+ ],
+ [
+ [
+ -8424,
+ 22805
+ ],
+ [
+ -5081,
+ 23257
+ ],
+ [
+ 16222,
+ 17822
+ ],
+ [
+ 27898,
+ 19046
+ ],
+ [
+ -11703,
+ 1410
+ ],
+ [
+ -1803,
+ -28536
+ ]
+ ],
+ [
+ [
+ 6108,
+ -4101
+ ],
+ [
+ -6990,
+ -25585
+ ],
+ [
+ 274,
+ 5179
+ ],
+ [
+ -25841,
+ 8843
+ ],
+ [
+ -21780,
+ -23265
+ ],
+ [
+ -6482,
+ -7270
+ ]
+ ],
+ [
+ [
+ 27193,
+ -28333
+ ],
+ [
+ -9873,
+ 15369
+ ],
+ [
+ -16398,
+ 31560
+ ],
+ [
+ 15916,
+ 29234
+ ],
+ [
+ 29434,
+ -25614
+ ],
+ [
+ -2679,
+ 16029
+ ]
+ ],
+ [
+ [
+ -32205,
+ -3143
+ ],
+ [
+ 12330,
+ 19194
+ ],
+ [
+ -5567,
+ 23790
+ ],
+ [
+ 11380,
+ -29787
+ ],
+ [
+ -14568,
+ 28699
+ ],
+ [
+ -32611,
+ -25689
+ ]
+ ],
+ [
+ [
+ -10192,
+ 32362
+ ],
+ [
+ 13421,
+ -23091
+ ],
+ [
+ -7005,
+ 28805
+ ],
+ [
+ -18405,
+ 4946
+ ],
+ [
+ -2359,
+ 17069
+ ],
+ [
+ 16537,
+ 21842
+ ]
+ ],
+ [
+ [
+ -24941,
+ -3025
+ ],
+ [
+ 12566,
+ -5309
+ ],
+ [
+ 10967,
+ 8897
+ ],
+ [
+ -8472,
+ -26207
+ ],
+ [
+ 30823,
+ 21364
+ ],
+ [
+ 25867,
+ -13119
+ ]
+ ],
+ [
+ [
+ -12049,
+ -11572
+ ],
+ [
+ -30731,
+ -21647
+ ],
+ [
+ -12563,
+ 31940
+ ],
+ [
+ -19352,
+ 512
+ ],
+ [
+ 3096,
+ -9188
+ ],
+ [
+ 27442,
+ -26659
+ ]
+ ],
+ [
+ [
+ 24270,
+ 15972
+ ],
+ [
+ -12726,
+ 17545
+ ],
+ [
+ -4680,
+ 30845
+ ],
+ [
+ -30374,
+ -30819
+ ],
+ [
+ 2894,
+ 28276
+ ],
+ [
+ -28616,
+ 18213
+ ]
+ ],
+ [
+ [
+ 28744,
+ -893
+ ],
+ [
+ 24047,
+ 16838
+ ],
+ [
+ -18731,
+ 23211
+ ],
+ [
+ 13065,
+ -31944
+ ],
+ [
+ 4457,
+ 10117
+ ],
+ [
+ 19749,
+ 17778
+ ]
+ ],
+ [
+ [
+ -1596,
+ -13174
+ ],
+ [
+ -20201,
+ -26935
+ ],
+ [
+ 9164,
+ 30131
+ ],
+ [
+ -27507,
+ 13284
+ ],
+ [
+ 5543,
+ -21504
+ ],
+ [
+ -18829,
+ -14127
+ ]
+ ],
+ [
+ [
+ 12119,
+ -13195
+ ],
+ [
+ 21498,
+ -8536
+ ],
+ [
+ -25591,
+ -26511
+ ],
+ [
+ -6537,
+ -6036
+ ],
+ [
+ 15304,
+ -1405
+ ],
+ [
+ -22040,
+ -18791
+ ]
+ ],
+ [
+ [
+ 4359,
+ -10868
+ ],
+ [
+ 11261,
+ 27722
+ ],
+ [
+ -9517,
+ 3399
+ ],
+ [
+ 21756,
+ -18983
+ ],
+ [
+ 698,
+ -12764
+ ],
+ [
+ 8322,
+ 15930
+ ]
+ ],
+ [
+ [
+ -23536,
+ -20483
+ ],
+ [
+ -31251,
+ -31978
+ ],
+ [
+ -29443,
+ 13553
+ ],
+ [
+ 26471,
+ -5918
+ ],
+ [
+ 25076,
+ 15052
+ ],
+ [
+ 20158,
+ 15721
+ ]
+ ]
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_InputZeroPointNotZero_1x14x6x2_i16xi8_acci48_st11_pad0000_dilat11/test.json b/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_InputZeroPointNotZero_1x14x6x2_i16xi8_acci48_st11_pad0000_dilat11/test.json
new file mode 100644
index 000000000..cbc9d271d
--- /dev/null
+++ b/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_InputZeroPointNotZero_1x14x6x2_i16xi8_acci48_st11_pad0000_dilat11/test.json
@@ -0,0 +1,179 @@
+{
+ version: {
+ _major: 0,
+ _minor: 41,
+ _patch: 0,
+ _draft: true
+ },
+ blocks: [
+ {
+ name: "main",
+ operators: [
+ {
+ op: "CONST",
+ attribute_type: "NONE",
+ inputs: [
+
+ ],
+ outputs: [
+ "const-1"
+ ]
+ },
+ {
+ op: "CONST",
+ attribute_type: "NONE",
+ inputs: [
+
+ ],
+ outputs: [
+ "const-2"
+ ]
+ },
+ {
+ op: "CONV2D",
+ attribute_type: "ConvAttribute",
+ attribute: {
+ pad: [
+ 0,
+ 0,
+ 0,
+ 0
+ ],
+ stride: [
+ 1,
+ 1
+ ],
+ dilation: [
+ 1,
+ 1
+ ],
+ input_zp: 59,
+ weight_zp: 81,
+ accum_dtype: "INT48"
+ },
+ inputs: [
+ "input-0",
+ "const-1",
+ "const-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 14,
+ 6,
+ 2
+ ],
+ type: "INT16"
+ },
+ {
+ name: "const-1",
+ shape: [
+ 8,
+ 1,
+ 1,
+ 2
+ ],
+ type: "INT8",
+ data: [
+ 179,
+ 5,
+ 6,
+ 36,
+ 75,
+ 156,
+ 44,
+ 85,
+ 157,
+ 234,
+ 101,
+ 134,
+ 169,
+ 77,
+ 171,
+ 51
+ ]
+ },
+ {
+ name: "const-2",
+ shape: [
+ 8
+ ],
+ type: "INT48",
+ data: [
+ 162,
+ 127,
+ 16,
+ 219,
+ 15,
+ 252,
+ 194,
+ 109,
+ 181,
+ 214,
+ 117,
+ 223,
+ 75,
+ 97,
+ 193,
+ 114,
+ 188,
+ 13,
+ 66,
+ 229,
+ 8,
+ 219,
+ 60,
+ 123,
+ 169,
+ 221,
+ 252,
+ 25,
+ 160,
+ 158,
+ 136,
+ 78,
+ 86,
+ 102,
+ 199,
+ 65,
+ 167,
+ 139,
+ 52,
+ 97,
+ 150,
+ 213,
+ 170,
+ 79,
+ 230,
+ 240,
+ 246,
+ 157
+ ]
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 14,
+ 6,
+ 8
+ ],
+ type: "INT48"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}