aboutsummaryrefslogtreecommitdiff
path: root/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_StrideSmallerOne_1x10x1x6_i16xi8_acci48_st-1-1_p...
diff options
context:
space:
mode:
authorJeremy Johnson <jeremy.johnson@arm.com>2022-10-13 13:58:06 +0100
committerJeremy Johnson <jeremy.johnson@arm.com>2022-10-13 13:58:06 +0100
commit1d38be721ba973a64bf4ea54d1d4c17c6038625e (patch)
tree6d7bfd6bf81f172f57108538bdb264ef52a610d0 /operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_StrideSmallerOne_1x10x1x6_i16xi8_acci48_st-1-1_pad1001_dilat12
parente680768ca1042791012ba3ab312f747790f5d93e (diff)
downloadconformance_tests-1d38be721ba973a64bf4ea54d1d4c17c6038625e.tar.gz
Updating DEPTHWISE_CONV2D_1X1 tests for FP16 and accumulator types
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com> Change-Id: I26e9584a440eafcfb300c11f2cb69081aa33b9bb
Diffstat (limited to 'operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_StrideSmallerOne_1x10x1x6_i16xi8_acci48_st-1-1_pad1001_dilat12')
-rw-r--r--operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_StrideSmallerOne_1x10x1x6_i16xi8_acci48_st-1-1_pad1001_dilat12/desc.json22
-rw-r--r--operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_StrideSmallerOne_1x10x1x6_i16xi8_acci48_st-1-1_pad1001_dilat12/input-0.json107
-rw-r--r--operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_StrideSmallerOne_1x10x1x6_i16xi8_acci48_st-1-1_pad1001_dilat12/test.json283
3 files changed, 412 insertions, 0 deletions
diff --git a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_StrideSmallerOne_1x10x1x6_i16xi8_acci48_st-1-1_pad1001_dilat12/desc.json b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_StrideSmallerOne_1x10x1x6_i16xi8_acci48_st-1-1_pad1001_dilat12/desc.json
new file mode 100644
index 000000000..a2f5e4ee2
--- /dev/null
+++ b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_StrideSmallerOne_1x10x1x6_i16xi8_acci48_st-1-1_pad1001_dilat12/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": "At least one stride dimension is smaller than zero",
+ "profile": [
+ "tosa-bi",
+ "tosa-mi"
+ ]
+} \ No newline at end of file
diff --git a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_StrideSmallerOne_1x10x1x6_i16xi8_acci48_st-1-1_pad1001_dilat12/input-0.json b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_StrideSmallerOne_1x10x1x6_i16xi8_acci48_st-1-1_pad1001_dilat12/input-0.json
new file mode 100644
index 000000000..40f4ba51d
--- /dev/null
+++ b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_StrideSmallerOne_1x10x1x6_i16xi8_acci48_st-1-1_pad1001_dilat12/input-0.json
@@ -0,0 +1,107 @@
+{
+ "type": "int32",
+ "data": [
+ [
+ [
+ [
+ 20696,
+ 21671,
+ -12356,
+ 19388,
+ -26654,
+ 31720
+ ]
+ ],
+ [
+ [
+ 17412,
+ -30092,
+ 13436,
+ -393,
+ 25144,
+ -17042
+ ]
+ ],
+ [
+ [
+ 25695,
+ 24288,
+ -14515,
+ -4435,
+ 9264,
+ -17024
+ ]
+ ],
+ [
+ [
+ 32710,
+ -20255,
+ -16790,
+ 45,
+ -1778,
+ -29479
+ ]
+ ],
+ [
+ [
+ 26880,
+ -17031,
+ -26013,
+ 1258,
+ 28065,
+ -32620
+ ]
+ ],
+ [
+ [
+ -777,
+ 26922,
+ 25758,
+ -21573,
+ 7954,
+ 22019
+ ]
+ ],
+ [
+ [
+ 11235,
+ 10303,
+ 17890,
+ -3064,
+ -28369,
+ 9141
+ ]
+ ],
+ [
+ [
+ 8373,
+ 23034,
+ 27783,
+ -10634,
+ 29892,
+ -32120
+ ]
+ ],
+ [
+ [
+ 30691,
+ -23770,
+ 9557,
+ 12007,
+ 8735,
+ 32173
+ ]
+ ],
+ [
+ [
+ 3438,
+ -24154,
+ 7048,
+ -13705,
+ 7347,
+ -7823
+ ]
+ ]
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_StrideSmallerOne_1x10x1x6_i16xi8_acci48_st-1-1_pad1001_dilat12/test.json b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_StrideSmallerOne_1x10x1x6_i16xi8_acci48_st-1-1_pad1001_dilat12/test.json
new file mode 100644
index 000000000..23e444c80
--- /dev/null
+++ b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_StrideSmallerOne_1x10x1x6_i16xi8_acci48_st-1-1_pad1001_dilat12/test.json
@@ -0,0 +1,283 @@
+{
+ 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: "DEPTHWISE_CONV2D",
+ attribute_type: "ConvAttribute",
+ attribute: {
+ pad: [
+ 1,
+ 0,
+ 0,
+ 1
+ ],
+ stride: [
+ -1,
+ -1
+ ],
+ dilation: [
+ 1,
+ 2
+ ],
+ input_zp: 0,
+ weight_zp: -27,
+ accum_dtype: "INT48"
+ },
+ inputs: [
+ "input-0",
+ "const-1",
+ "const-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 10,
+ 1,
+ 6
+ ],
+ type: "INT16"
+ },
+ {
+ name: "const-1",
+ shape: [
+ 1,
+ 1,
+ 6,
+ 4
+ ],
+ type: "INT8",
+ data: [
+ 138,
+ 35,
+ 150,
+ 211,
+ 30,
+ 97,
+ 208,
+ 204,
+ 205,
+ 19,
+ 177,
+ 6,
+ 77,
+ 148,
+ 118,
+ 8,
+ 32,
+ 30,
+ 114,
+ 42,
+ 98,
+ 201,
+ 183,
+ 36
+ ]
+ },
+ {
+ name: "const-2",
+ shape: [
+ 24
+ ],
+ type: "INT48",
+ data: [
+ 117,
+ 28,
+ 52,
+ 141,
+ 42,
+ 182,
+ 93,
+ 69,
+ 157,
+ 45,
+ 161,
+ 152,
+ 140,
+ 186,
+ 175,
+ 145,
+ 55,
+ 21,
+ 72,
+ 51,
+ 210,
+ 192,
+ 91,
+ 200,
+ 7,
+ 238,
+ 147,
+ 232,
+ 180,
+ 105,
+ 135,
+ 31,
+ 181,
+ 74,
+ 8,
+ 29,
+ 181,
+ 82,
+ 248,
+ 111,
+ 15,
+ 220,
+ 139,
+ 153,
+ 144,
+ 104,
+ 17,
+ 124,
+ 49,
+ 149,
+ 242,
+ 141,
+ 4,
+ 116,
+ 3,
+ 210,
+ 251,
+ 83,
+ 83,
+ 71,
+ 81,
+ 202,
+ 6,
+ 200,
+ 171,
+ 74,
+ 91,
+ 65,
+ 22,
+ 96,
+ 46,
+ 122,
+ 23,
+ 235,
+ 190,
+ 127,
+ 183,
+ 25,
+ 14,
+ 182,
+ 24,
+ 251,
+ 72,
+ 97,
+ 18,
+ 39,
+ 179,
+ 140,
+ 152,
+ 144,
+ 228,
+ 254,
+ 144,
+ 10,
+ 215,
+ 13,
+ 218,
+ 184,
+ 43,
+ 233,
+ 164,
+ 0,
+ 113,
+ 132,
+ 98,
+ 69,
+ 168,
+ 137,
+ 23,
+ 74,
+ 61,
+ 124,
+ 66,
+ 150,
+ 171,
+ 110,
+ 88,
+ 60,
+ 151,
+ 133,
+ 117,
+ 205,
+ 60,
+ 145,
+ 68,
+ 203,
+ 188,
+ 189,
+ 116,
+ 233,
+ 178,
+ 141,
+ 135,
+ 8,
+ 111,
+ 49,
+ 84,
+ 236,
+ 189,
+ 201,
+ 24,
+ 38,
+ 16,
+ 80
+ ]
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ -9,
+ 0,
+ 24
+ ],
+ type: "INT48"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}