aboutsummaryrefslogtreecommitdiff
path: root/operators/tensor/max_pool2d/max_pool2d_ERRORIF_WrongInputList_1x3x11x5_i8_st11_kern22_pad0000
diff options
context:
space:
mode:
Diffstat (limited to 'operators/tensor/max_pool2d/max_pool2d_ERRORIF_WrongInputList_1x3x11x5_i8_st11_kern22_pad0000')
-rw-r--r--operators/tensor/max_pool2d/max_pool2d_ERRORIF_WrongInputList_1x3x11x5_i8_st11_kern22_pad0000/desc.json22
-rw-r--r--operators/tensor/max_pool2d/max_pool2d_ERRORIF_WrongInputList_1x3x11x5_i8_st11_kern22_pad0000/input-0.json244
-rw-r--r--operators/tensor/max_pool2d/max_pool2d_ERRORIF_WrongInputList_1x3x11x5_i8_st11_kern22_pad0000/test.json72
3 files changed, 338 insertions, 0 deletions
diff --git a/operators/tensor/max_pool2d/max_pool2d_ERRORIF_WrongInputList_1x3x11x5_i8_st11_kern22_pad0000/desc.json b/operators/tensor/max_pool2d/max_pool2d_ERRORIF_WrongInputList_1x3x11x5_i8_st11_kern22_pad0000/desc.json
new file mode 100644
index 000000000..bf7c1974a
--- /dev/null
+++ b/operators/tensor/max_pool2d/max_pool2d_ERRORIF_WrongInputList_1x3x11x5_i8_st11_kern22_pad0000/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": "Op input list does not match expected input",
+ "profile": [
+ "tosa-bi",
+ "tosa-mi"
+ ]
+} \ No newline at end of file
diff --git a/operators/tensor/max_pool2d/max_pool2d_ERRORIF_WrongInputList_1x3x11x5_i8_st11_kern22_pad0000/input-0.json b/operators/tensor/max_pool2d/max_pool2d_ERRORIF_WrongInputList_1x3x11x5_i8_st11_kern22_pad0000/input-0.json
new file mode 100644
index 000000000..7a1302667
--- /dev/null
+++ b/operators/tensor/max_pool2d/max_pool2d_ERRORIF_WrongInputList_1x3x11x5_i8_st11_kern22_pad0000/input-0.json
@@ -0,0 +1,244 @@
+{
+ "type": "int32",
+ "data": [
+ [
+ [
+ [
+ 83,
+ 75,
+ -6,
+ -124,
+ 61
+ ],
+ [
+ -42,
+ -35,
+ 54,
+ 79,
+ -106
+ ],
+ [
+ 82,
+ -54,
+ 16,
+ 94,
+ -73
+ ],
+ [
+ -72,
+ 120,
+ -33,
+ 114,
+ -37
+ ],
+ [
+ 30,
+ 2,
+ 123,
+ 12,
+ 0
+ ],
+ [
+ -9,
+ -32,
+ -16,
+ -11,
+ 67
+ ],
+ [
+ -117,
+ 0,
+ 12,
+ 64,
+ 42
+ ],
+ [
+ -18,
+ -100,
+ -33,
+ -63,
+ -76
+ ],
+ [
+ 56,
+ -6,
+ 75,
+ -93,
+ 124
+ ],
+ [
+ -7,
+ -64,
+ -36,
+ 87,
+ 53
+ ],
+ [
+ -84,
+ 125,
+ -95,
+ -58,
+ 58
+ ]
+ ],
+ [
+ [
+ 7,
+ -14,
+ 109,
+ 75,
+ 118
+ ],
+ [
+ -56,
+ 89,
+ -74,
+ 78,
+ 12
+ ],
+ [
+ 25,
+ -99,
+ 97,
+ -57,
+ 25
+ ],
+ [
+ -86,
+ 109,
+ -47,
+ 67,
+ 67
+ ],
+ [
+ 12,
+ -98,
+ -57,
+ 28,
+ 9
+ ],
+ [
+ 21,
+ -65,
+ 9,
+ -107,
+ -5
+ ],
+ [
+ -105,
+ 41,
+ 17,
+ 90,
+ -10
+ ],
+ [
+ -87,
+ -68,
+ 80,
+ 117,
+ -113
+ ],
+ [
+ 45,
+ -5,
+ -62,
+ 2,
+ 111
+ ],
+ [
+ -78,
+ 86,
+ -106,
+ 56,
+ -109
+ ],
+ [
+ -113,
+ -119,
+ 78,
+ 18,
+ 48
+ ]
+ ],
+ [
+ [
+ -89,
+ 107,
+ 79,
+ -3,
+ 102
+ ],
+ [
+ -92,
+ -54,
+ -116,
+ -86,
+ 87
+ ],
+ [
+ -24,
+ 37,
+ 97,
+ 67,
+ -26
+ ],
+ [
+ -39,
+ -101,
+ 84,
+ 124,
+ 0
+ ],
+ [
+ -1,
+ 89,
+ -41,
+ -24,
+ 100
+ ],
+ [
+ -31,
+ 109,
+ -87,
+ -1,
+ -3
+ ],
+ [
+ -50,
+ 118,
+ -5,
+ 97,
+ -72
+ ],
+ [
+ -39,
+ -6,
+ 16,
+ -70,
+ -48
+ ],
+ [
+ 31,
+ -57,
+ 66,
+ -6,
+ 120
+ ],
+ [
+ -68,
+ 87,
+ -3,
+ -106,
+ 52
+ ],
+ [
+ -74,
+ -93,
+ 8,
+ 73,
+ -63
+ ]
+ ]
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/tensor/max_pool2d/max_pool2d_ERRORIF_WrongInputList_1x3x11x5_i8_st11_kern22_pad0000/test.json b/operators/tensor/max_pool2d/max_pool2d_ERRORIF_WrongInputList_1x3x11x5_i8_st11_kern22_pad0000/test.json
new file mode 100644
index 000000000..5863d17b4
--- /dev/null
+++ b/operators/tensor/max_pool2d/max_pool2d_ERRORIF_WrongInputList_1x3x11x5_i8_st11_kern22_pad0000/test.json
@@ -0,0 +1,72 @@
+{
+ version: {
+ _major: 0,
+ _minor: 41,
+ _patch: 0,
+ _draft: true
+ },
+ blocks: [
+ {
+ name: "main",
+ operators: [
+ {
+ op: "MAX_POOL2D",
+ attribute_type: "PoolAttribute",
+ attribute: {
+ pad: [
+ 0,
+ 0,
+ 0,
+ 0
+ ],
+ kernel: [
+ 2,
+ 2
+ ],
+ stride: [
+ 1,
+ 1
+ ],
+ input_zp: 0,
+ output_zp: 0,
+ accum_dtype: "UNKNOWN"
+ },
+ inputs: [
+
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 3,
+ 11,
+ 5
+ ],
+ type: "INT8"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 2,
+ 10,
+ 5
+ ],
+ type: "INT8"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}