aboutsummaryrefslogtreecommitdiff
path: root/operators/tensor/max_pool2d/max_pool2d_ERRORIF_PoolingOutputShapeMismatch_1x10x3x3_i16_st11_kern22_pad0000
diff options
context:
space:
mode:
Diffstat (limited to 'operators/tensor/max_pool2d/max_pool2d_ERRORIF_PoolingOutputShapeMismatch_1x10x3x3_i16_st11_kern22_pad0000')
-rw-r--r--operators/tensor/max_pool2d/max_pool2d_ERRORIF_PoolingOutputShapeMismatch_1x10x3x3_i16_st11_kern22_pad0000/desc.json22
-rw-r--r--operators/tensor/max_pool2d/max_pool2d_ERRORIF_PoolingOutputShapeMismatch_1x10x3x3_i16_st11_kern22_pad0000/input-0.json177
-rw-r--r--operators/tensor/max_pool2d/max_pool2d_ERRORIF_PoolingOutputShapeMismatch_1x10x3x3_i16_st11_kern22_pad0000/test.json72
3 files changed, 271 insertions, 0 deletions
diff --git a/operators/tensor/max_pool2d/max_pool2d_ERRORIF_PoolingOutputShapeMismatch_1x10x3x3_i16_st11_kern22_pad0000/desc.json b/operators/tensor/max_pool2d/max_pool2d_ERRORIF_PoolingOutputShapeMismatch_1x10x3x3_i16_st11_kern22_pad0000/desc.json
new file mode 100644
index 000000000..7780bdd73
--- /dev/null
+++ b/operators/tensor/max_pool2d/max_pool2d_ERRORIF_PoolingOutputShapeMismatch_1x10x3x3_i16_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": "Mismatch between output shape provided and expected output shape",
+ "profile": [
+ "tosa-bi",
+ "tosa-mi"
+ ]
+} \ No newline at end of file
diff --git a/operators/tensor/max_pool2d/max_pool2d_ERRORIF_PoolingOutputShapeMismatch_1x10x3x3_i16_st11_kern22_pad0000/input-0.json b/operators/tensor/max_pool2d/max_pool2d_ERRORIF_PoolingOutputShapeMismatch_1x10x3x3_i16_st11_kern22_pad0000/input-0.json
new file mode 100644
index 000000000..4fd2f45c6
--- /dev/null
+++ b/operators/tensor/max_pool2d/max_pool2d_ERRORIF_PoolingOutputShapeMismatch_1x10x3x3_i16_st11_kern22_pad0000/input-0.json
@@ -0,0 +1,177 @@
+{
+ "type": "int32",
+ "data": [
+ [
+ [
+ [
+ 5152,
+ -19128,
+ 32764
+ ],
+ [
+ 9938,
+ -12334,
+ -25405
+ ],
+ [
+ 6225,
+ -3420,
+ 11396
+ ]
+ ],
+ [
+ [
+ 6303,
+ 9198,
+ 21867
+ ],
+ [
+ 1649,
+ 14716,
+ -9239
+ ],
+ [
+ 29023,
+ -6032,
+ 11788
+ ]
+ ],
+ [
+ [
+ 32666,
+ -9884,
+ -26111
+ ],
+ [
+ -17582,
+ -16791,
+ -29060
+ ],
+ [
+ 2876,
+ -14577,
+ -26408
+ ]
+ ],
+ [
+ [
+ -23800,
+ -14851,
+ -8571
+ ],
+ [
+ 31095,
+ 13276,
+ 14072
+ ],
+ [
+ 12585,
+ 19872,
+ -11917
+ ]
+ ],
+ [
+ [
+ -26256,
+ 560,
+ -32683
+ ],
+ [
+ -18562,
+ 16580,
+ 195
+ ],
+ [
+ 12495,
+ 660,
+ 2799
+ ]
+ ],
+ [
+ [
+ -13023,
+ -18447,
+ -15764
+ ],
+ [
+ 19533,
+ 31429,
+ -27405
+ ],
+ [
+ 2432,
+ -1939,
+ 4068
+ ]
+ ],
+ [
+ [
+ -17506,
+ -32258,
+ -19443
+ ],
+ [
+ -20851,
+ -29337,
+ -9397
+ ],
+ [
+ 12052,
+ 30538,
+ 10304
+ ]
+ ],
+ [
+ [
+ -21284,
+ -9033,
+ -12892
+ ],
+ [
+ -18864,
+ 32122,
+ 10199
+ ],
+ [
+ -1239,
+ -4147,
+ -11901
+ ]
+ ],
+ [
+ [
+ -5456,
+ 8805,
+ 28063
+ ],
+ [
+ -243,
+ -20646,
+ 29979
+ ],
+ [
+ -12126,
+ -27316,
+ 2894
+ ]
+ ],
+ [
+ [
+ 19041,
+ -15886,
+ -14478
+ ],
+ [
+ -13813,
+ 20097,
+ 29975
+ ],
+ [
+ 22788,
+ -17948,
+ 22886
+ ]
+ ]
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/tensor/max_pool2d/max_pool2d_ERRORIF_PoolingOutputShapeMismatch_1x10x3x3_i16_st11_kern22_pad0000/test.json b/operators/tensor/max_pool2d/max_pool2d_ERRORIF_PoolingOutputShapeMismatch_1x10x3x3_i16_st11_kern22_pad0000/test.json
new file mode 100644
index 000000000..be6e64da7
--- /dev/null
+++ b/operators/tensor/max_pool2d/max_pool2d_ERRORIF_PoolingOutputShapeMismatch_1x10x3x3_i16_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: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 10,
+ 3,
+ 3
+ ],
+ type: "INT16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 12,
+ 2,
+ 3
+ ],
+ type: "INT16"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}