aboutsummaryrefslogtreecommitdiff
path: root/operators/tensor/transpose_conv2d_1x1/transpose_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: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_StrideSmallerOne_1x10x1x6_i16xi8_acci48_st-1-1_pad0000_os1x-8x1x7
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_StrideSmallerOne_1x10x1x6_i16xi8_acci48_st-1-1_pad0000_os1x-8x1x7')
-rw-r--r--operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_StrideSmallerOne_1x10x1x6_i16xi8_acci48_st-1-1_pad0000_os1x-8x1x7/desc.json22
-rw-r--r--operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_StrideSmallerOne_1x10x1x6_i16xi8_acci48_st-1-1_pad0000_os1x-8x1x7/input-0.json107
-rw-r--r--operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_StrideSmallerOne_1x10x1x6_i16xi8_acci48_st-1-1_pad0000_os1x-8x1x7/test.json201
3 files changed, 330 insertions, 0 deletions
diff --git a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_StrideSmallerOne_1x10x1x6_i16xi8_acci48_st-1-1_pad0000_os1x-8x1x7/desc.json b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_StrideSmallerOne_1x10x1x6_i16xi8_acci48_st-1-1_pad0000_os1x-8x1x7/desc.json
new file mode 100644
index 000000000..a2f5e4ee2
--- /dev/null
+++ b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_StrideSmallerOne_1x10x1x6_i16xi8_acci48_st-1-1_pad0000_os1x-8x1x7/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/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_StrideSmallerOne_1x10x1x6_i16xi8_acci48_st-1-1_pad0000_os1x-8x1x7/input-0.json b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_StrideSmallerOne_1x10x1x6_i16xi8_acci48_st-1-1_pad0000_os1x-8x1x7/input-0.json
new file mode 100644
index 000000000..d4a0ffa90
--- /dev/null
+++ b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_StrideSmallerOne_1x10x1x6_i16xi8_acci48_st-1-1_pad0000_os1x-8x1x7/input-0.json
@@ -0,0 +1,107 @@
+{
+ "type": "int32",
+ "data": [
+ [
+ [
+ [
+ 14489,
+ -21792,
+ 26645,
+ -13026,
+ -19795,
+ 3174
+ ]
+ ],
+ [
+ [
+ -7511,
+ -2537,
+ 20019,
+ 2353,
+ -8268,
+ 19674
+ ]
+ ],
+ [
+ [
+ -7925,
+ 30036,
+ 31853,
+ -2014,
+ 17751,
+ 13641
+ ]
+ ],
+ [
+ [
+ 23646,
+ -2540,
+ -6097,
+ -14640,
+ 5630,
+ 7582
+ ]
+ ],
+ [
+ [
+ -3241,
+ -12428,
+ -3258,
+ 140,
+ -24400,
+ 10494
+ ]
+ ],
+ [
+ [
+ 22422,
+ -11674,
+ -7174,
+ -26680,
+ 5362,
+ -4745
+ ]
+ ],
+ [
+ [
+ 23401,
+ 26677,
+ 17922,
+ -19001,
+ -19777,
+ -937
+ ]
+ ],
+ [
+ [
+ 7766,
+ -30687,
+ -280,
+ -27088,
+ -15719,
+ -9242
+ ]
+ ],
+ [
+ [
+ -30091,
+ -15573,
+ 8506,
+ 32628,
+ 18340,
+ -12689
+ ]
+ ],
+ [
+ [
+ 28948,
+ -3927,
+ -9504,
+ 22756,
+ -6605,
+ 15648
+ ]
+ ]
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_StrideSmallerOne_1x10x1x6_i16xi8_acci48_st-1-1_pad0000_os1x-8x1x7/test.json b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_StrideSmallerOne_1x10x1x6_i16xi8_acci48_st-1-1_pad0000_os1x-8x1x7/test.json
new file mode 100644
index 000000000..2a57a076f
--- /dev/null
+++ b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_StrideSmallerOne_1x10x1x6_i16xi8_acci48_st-1-1_pad0000_os1x-8x1x7/test.json
@@ -0,0 +1,201 @@
+{
+ 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,
+ -8,
+ 1,
+ 7
+ ],
+ input_zp: 0,
+ weight_zp: 21,
+ 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: [
+ 7,
+ 1,
+ 1,
+ 6
+ ],
+ type: "INT8",
+ data: [
+ 169,
+ 213,
+ 124,
+ 190,
+ 89,
+ 247,
+ 117,
+ 234,
+ 254,
+ 229,
+ 181,
+ 88,
+ 18,
+ 1,
+ 223,
+ 69,
+ 217,
+ 188,
+ 149,
+ 95,
+ 146,
+ 88,
+ 224,
+ 128,
+ 109,
+ 61,
+ 57,
+ 12,
+ 66,
+ 162,
+ 187,
+ 11,
+ 60,
+ 22,
+ 232,
+ 44,
+ 143,
+ 2,
+ 229,
+ 255,
+ 161,
+ 103
+ ]
+ },
+ {
+ name: "const-2",
+ shape: [
+ 7
+ ],
+ type: "INT48",
+ data: [
+ 81,
+ 241,
+ 5,
+ 131,
+ 29,
+ 87,
+ 18,
+ 170,
+ 77,
+ 144,
+ 151,
+ 201,
+ 56,
+ 29,
+ 166,
+ 240,
+ 166,
+ 28,
+ 84,
+ 242,
+ 93,
+ 91,
+ 31,
+ 221,
+ 54,
+ 254,
+ 214,
+ 93,
+ 123,
+ 167,
+ 134,
+ 72,
+ 188,
+ 142,
+ 63,
+ 38,
+ 36,
+ 126,
+ 86,
+ 89,
+ 150,
+ 66
+ ]
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ -8,
+ 1,
+ 7
+ ],
+ type: "INT48"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}