aboutsummaryrefslogtreecommitdiff
path: root/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongOutputType_1x4x2x9_i16xi8_acci48_st11_pad00...
diff options
context:
space:
mode:
authorJeremy Johnson <jeremy.johnson@arm.com>2022-10-13 13:59:38 +0100
committerJeremy Johnson <jeremy.johnson@arm.com>2022-10-13 13:59:38 +0100
commit725dc72a1676089eb9f22cef062aec7359c55436 (patch)
tree62b1810802a3a867abdad8abb36c94894b5a0bd1 /operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongOutputType_1x4x2x9_i16xi8_acci48_st11_pad0000_os1x4x2x14
parent160c305f3f95ff71775a307b8e601e5e78c60e9a (diff)
downloadconformance_tests-725dc72a1676089eb9f22cef062aec7359c55436.tar.gz
Updating TRANSPOSE_CONV2D_1X1 tests for FP16 and accumulator types
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com> Change-Id: I1d06dd6b1ed82886cd75ba700db26bca9a42f594
Diffstat (limited to 'operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongOutputType_1x4x2x9_i16xi8_acci48_st11_pad0000_os1x4x2x14')
-rw-r--r--operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongOutputType_1x4x2x9_i16xi8_acci48_st11_pad0000_os1x4x2x14/desc.json22
-rw-r--r--operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongOutputType_1x4x2x9_i16xi8_acci48_st11_pad0000_os1x4x2x14/input-0.json103
-rw-r--r--operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongOutputType_1x4x2x9_i16xi8_acci48_st11_pad0000_os1x4x2x14/test.json327
3 files changed, 452 insertions, 0 deletions
diff --git a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongOutputType_1x4x2x9_i16xi8_acci48_st11_pad0000_os1x4x2x14/desc.json b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongOutputType_1x4x2x9_i16xi8_acci48_st11_pad0000_os1x4x2x14/desc.json
new file mode 100644
index 000000000..199bfa93c
--- /dev/null
+++ b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongOutputType_1x4x2x9_i16xi8_acci48_st11_pad0000_os1x4x2x14/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": "Output data type not supported for this configuration of operator",
+ "profile": [
+ "tosa-bi",
+ "tosa-mi"
+ ]
+} \ No newline at end of file
diff --git a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongOutputType_1x4x2x9_i16xi8_acci48_st11_pad0000_os1x4x2x14/input-0.json b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongOutputType_1x4x2x9_i16xi8_acci48_st11_pad0000_os1x4x2x14/input-0.json
new file mode 100644
index 000000000..199d1a88a
--- /dev/null
+++ b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongOutputType_1x4x2x9_i16xi8_acci48_st11_pad0000_os1x4x2x14/input-0.json
@@ -0,0 +1,103 @@
+{
+ "type": "int32",
+ "data": [
+ [
+ [
+ [
+ 23843,
+ -9778,
+ -30071,
+ -10070,
+ -23248,
+ 2182,
+ -23175,
+ 27649,
+ 6702
+ ],
+ [
+ -16186,
+ 27605,
+ 17674,
+ -4079,
+ -23167,
+ -10237,
+ 5505,
+ 17422,
+ -15603
+ ]
+ ],
+ [
+ [
+ 15897,
+ -14233,
+ -16597,
+ -3473,
+ -22229,
+ -6249,
+ -9319,
+ -14416,
+ 18061
+ ],
+ [
+ -11028,
+ 12783,
+ 14436,
+ 10869,
+ -15118,
+ 21589,
+ -17266,
+ -14606,
+ 24575
+ ]
+ ],
+ [
+ [
+ -10507,
+ 12911,
+ -29994,
+ 7492,
+ 24166,
+ 13677,
+ 5402,
+ 22873,
+ -13231
+ ],
+ [
+ -8076,
+ -28219,
+ 13000,
+ 14641,
+ 16474,
+ 16301,
+ -24420,
+ 10890,
+ 17257
+ ]
+ ],
+ [
+ [
+ -19414,
+ -1542,
+ 27080,
+ -5584,
+ 16590,
+ 1988,
+ 10338,
+ 8290,
+ 9892
+ ],
+ [
+ 18309,
+ 26499,
+ -13392,
+ 28069,
+ 8379,
+ 6267,
+ -11290,
+ -5462,
+ 9936
+ ]
+ ]
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongOutputType_1x4x2x9_i16xi8_acci48_st11_pad0000_os1x4x2x14/test.json b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongOutputType_1x4x2x9_i16xi8_acci48_st11_pad0000_os1x4x2x14/test.json
new file mode 100644
index 000000000..5aa8980c1
--- /dev/null
+++ b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongOutputType_1x4x2x9_i16xi8_acci48_st11_pad0000_os1x4x2x14/test.json
@@ -0,0 +1,327 @@
+{
+ 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: "TRANSPOSE_CONV2D",
+ attribute_type: "TransposeConvAttribute",
+ attribute: {
+ out_pad: [
+ 0,
+ 0,
+ 0,
+ 0
+ ],
+ stride: [
+ 1,
+ 1
+ ],
+ output_shape: [
+ 1,
+ 4,
+ 2,
+ 14
+ ],
+ input_zp: 0,
+ weight_zp: 90,
+ accum_dtype: "INT48"
+ },
+ inputs: [
+ "input-0",
+ "const-1",
+ "const-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 4,
+ 2,
+ 9
+ ],
+ type: "INT16"
+ },
+ {
+ name: "const-1",
+ shape: [
+ 14,
+ 1,
+ 1,
+ 9
+ ],
+ type: "INT8",
+ data: [
+ 221,
+ 201,
+ 81,
+ 234,
+ 37,
+ 135,
+ 147,
+ 89,
+ 164,
+ 75,
+ 102,
+ 251,
+ 98,
+ 237,
+ 115,
+ 188,
+ 237,
+ 227,
+ 72,
+ 139,
+ 84,
+ 133,
+ 208,
+ 24,
+ 165,
+ 253,
+ 127,
+ 82,
+ 135,
+ 23,
+ 24,
+ 145,
+ 38,
+ 5,
+ 46,
+ 204,
+ 193,
+ 60,
+ 56,
+ 169,
+ 183,
+ 22,
+ 84,
+ 179,
+ 184,
+ 78,
+ 50,
+ 102,
+ 72,
+ 116,
+ 176,
+ 197,
+ 188,
+ 142,
+ 71,
+ 41,
+ 150,
+ 178,
+ 176,
+ 231,
+ 244,
+ 201,
+ 110,
+ 182,
+ 15,
+ 240,
+ 227,
+ 83,
+ 122,
+ 129,
+ 246,
+ 158,
+ 239,
+ 29,
+ 233,
+ 207,
+ 207,
+ 204,
+ 211,
+ 223,
+ 48,
+ 152,
+ 138,
+ 4,
+ 46,
+ 194,
+ 179,
+ 31,
+ 226,
+ 60,
+ 165,
+ 159,
+ 13,
+ 228,
+ 58,
+ 1,
+ 218,
+ 168,
+ 169,
+ 65,
+ 185,
+ 0,
+ 81,
+ 101,
+ 196,
+ 156,
+ 70,
+ 47,
+ 212,
+ 23,
+ 176,
+ 51,
+ 58,
+ 204,
+ 247,
+ 213,
+ 136,
+ 160,
+ 117,
+ 244,
+ 165,
+ 139,
+ 218,
+ 123,
+ 226,
+ 127
+ ]
+ },
+ {
+ name: "const-2",
+ shape: [
+ 14
+ ],
+ type: "INT48",
+ data: [
+ 146,
+ 195,
+ 4,
+ 220,
+ 18,
+ 73,
+ 53,
+ 7,
+ 240,
+ 33,
+ 143,
+ 129,
+ 39,
+ 236,
+ 4,
+ 125,
+ 182,
+ 110,
+ 243,
+ 33,
+ 181,
+ 144,
+ 95,
+ 37,
+ 121,
+ 236,
+ 149,
+ 185,
+ 93,
+ 115,
+ 223,
+ 75,
+ 211,
+ 112,
+ 64,
+ 81,
+ 118,
+ 165,
+ 50,
+ 206,
+ 134,
+ 109,
+ 143,
+ 37,
+ 15,
+ 44,
+ 219,
+ 25,
+ 68,
+ 6,
+ 252,
+ 153,
+ 120,
+ 219,
+ 235,
+ 2,
+ 232,
+ 208,
+ 98,
+ 241,
+ 163,
+ 207,
+ 52,
+ 206,
+ 116,
+ 40,
+ 30,
+ 81,
+ 7,
+ 104,
+ 75,
+ 237,
+ 16,
+ 94,
+ 84,
+ 232,
+ 78,
+ 59,
+ 38,
+ 68,
+ 1,
+ 90,
+ 131,
+ 151
+ ]
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 4,
+ 2,
+ 14
+ ],
+ type: "INT16"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}