aboutsummaryrefslogtreecommitdiff
path: root/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WrongInputList_1x12x11x6_i8xi8_acci32_st11_pad0000_dilat11
diff options
context:
space:
mode:
authorJeremy Johnson <jeremy.johnson@arm.com>2022-10-13 13:54:26 +0100
committerJeremy Johnson <jeremy.johnson@arm.com>2022-10-13 13:54:26 +0100
commitab4bb694c6df1a837be89d0271fb21377a086658 (patch)
tree3072e003a6982722bc90e16fbd3b4e1faf2cf3e9 /operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WrongInputList_1x12x11x6_i8xi8_acci32_st11_pad0000_dilat11
parentd065e338624da04730c490bbaae208d111176f22 (diff)
downloadconformance_tests-ab4bb694c6df1a837be89d0271fb21377a086658.tar.gz
Updating CONV2D_1X1 tests for FP16 and accumulator types
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com> Change-Id: Id1fb1687ffc4de1b92336ffbf65087c0d1ebf905
Diffstat (limited to 'operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WrongInputList_1x12x11x6_i8xi8_acci32_st11_pad0000_dilat11')
-rw-r--r--operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WrongInputList_1x12x11x6_i8xi8_acci32_st11_pad0000_dilat11/desc.json22
-rw-r--r--operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WrongInputList_1x12x11x6_i8xi8_acci32_st11_pad0000_dilat11/input-0.json1087
-rw-r--r--operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WrongInputList_1x12x11x6_i8xi8_acci32_st11_pad0000_dilat11/test.json134
3 files changed, 1243 insertions, 0 deletions
diff --git a/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WrongInputList_1x12x11x6_i8xi8_acci32_st11_pad0000_dilat11/desc.json b/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WrongInputList_1x12x11x6_i8xi8_acci32_st11_pad0000_dilat11/desc.json
new file mode 100644
index 000000000..bf7c1974a
--- /dev/null
+++ b/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WrongInputList_1x12x11x6_i8xi8_acci32_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": "Op input list does not match expected input",
+ "profile": [
+ "tosa-bi",
+ "tosa-mi"
+ ]
+} \ No newline at end of file
diff --git a/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WrongInputList_1x12x11x6_i8xi8_acci32_st11_pad0000_dilat11/input-0.json b/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WrongInputList_1x12x11x6_i8xi8_acci32_st11_pad0000_dilat11/input-0.json
new file mode 100644
index 000000000..05e45223f
--- /dev/null
+++ b/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WrongInputList_1x12x11x6_i8xi8_acci32_st11_pad0000_dilat11/input-0.json
@@ -0,0 +1,1087 @@
+{
+ "type": "int32",
+ "data": [
+ [
+ [
+ [
+ -42,
+ 50,
+ -118,
+ 29,
+ 94,
+ 53
+ ],
+ [
+ 21,
+ 89,
+ -52,
+ -32,
+ -111,
+ 50
+ ],
+ [
+ 57,
+ 64,
+ 63,
+ -96,
+ 42,
+ 67
+ ],
+ [
+ -76,
+ -7,
+ 105,
+ -22,
+ 64,
+ 7
+ ],
+ [
+ 40,
+ 32,
+ 38,
+ 71,
+ 103,
+ -53
+ ],
+ [
+ 109,
+ 32,
+ 24,
+ -45,
+ -22,
+ 38
+ ],
+ [
+ -35,
+ -55,
+ 81,
+ -22,
+ 37,
+ -121
+ ],
+ [
+ -109,
+ 89,
+ -92,
+ 75,
+ 102,
+ -5
+ ],
+ [
+ 98,
+ -19,
+ 115,
+ -68,
+ -19,
+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 ],
+ [
+ 29,
+ 10,
+ 69,
+ 99,
+ 12,
+ -46
+ ],
+ [
+ 123,
+ 118,
+ 47,
+ 36,
+ -102,
+ -26
+ ],
+ [
+ -78,
+ 3,
+ 83,
+ -71,
+ 127,
+ -95
+ ],
+ [
+ -103,
+ 121,
+ -103,
+ 60,
+ 67,
+ -44
+ ],
+ [
+ -112,
+ -50,
+ -111,
+ 44,
+ 99,
+ 127
+ ],
+ [
+ 76,
+ 70,
+ 97,
+ 69,
+ 38,
+ 127
+ ],
+ [
+ -46,
+ -23,
+ 104,
+ -49,
+ -52,
+ -90
+ ],
+ [
+ -58,
+ 23,
+ 98,
+ -94,
+ 46,
+ 68
+ ],
+ [
+ 101,
+ 64,
+ -89,
+ -3,
+ 115,
+ 104
+ ]
+ ]
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WrongInputList_1x12x11x6_i8xi8_acci32_st11_pad0000_dilat11/test.json b/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WrongInputList_1x12x11x6_i8xi8_acci32_st11_pad0000_dilat11/test.json
new file mode 100644
index 000000000..e7e68fda4
--- /dev/null
+++ b/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WrongInputList_1x12x11x6_i8xi8_acci32_st11_pad0000_dilat11/test.json
@@ -0,0 +1,134 @@
+{
+ 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: -58,
+ weight_zp: 95,
+ accum_dtype: "INT32"
+ },
+ inputs: [
+ "input-0",
+ "const-1"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 12,
+ 11,
+ 6
+ ],
+ type: "INT8"
+ },
+ {
+ name: "const-1",
+ shape: [
+ 2,
+ 1,
+ 1,
+ 6
+ ],
+ type: "INT8",
+ data: [
+ 28,
+ 118,
+ 43,
+ 144,
+ 105,
+ 171,
+ 225,
+ 188,
+ 56,
+ 135,
+ 35,
+ 93
+ ]
+ },
+ {
+ name: "const-2",
+ shape: [
+ 2
+ ],
+ type: "INT32",
+ data: [
+ 132,
+ 41,
+ 170,
+ 73,
+ 94,
+ 244,
+ 150,
+ 206
+ ]
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 12,
+ 11,
+ 2
+ ],
+ type: "INT32"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}