aboutsummaryrefslogtreecommitdiff
path: root/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_StrideSmallerOne_1x10x1x6_i16xi8_acci48_st-1-1_pad1001_dilat12
diff options
context:
space:
mode:
Diffstat (limited to 'operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_StrideSmallerOne_1x10x1x6_i16xi8_acci48_st-1-1_pad1001_dilat12')
-rw-r--r--operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_StrideSmallerOne_1x10x1x6_i16xi8_acci48_st-1-1_pad1001_dilat12/desc.json22
-rw-r--r--operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_StrideSmallerOne_1x10x1x6_i16xi8_acci48_st-1-1_pad1001_dilat12/input-0.json107
-rw-r--r--operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_StrideSmallerOne_1x10x1x6_i16xi8_acci48_st-1-1_pad1001_dilat12/test.json199
3 files changed, 328 insertions, 0 deletions
diff --git a/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_StrideSmallerOne_1x10x1x6_i16xi8_acci48_st-1-1_pad1001_dilat12/desc.json b/operators/tensor/conv2d_1x1/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/conv2d_1x1/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/conv2d_1x1/conv2d_1x1_ERRORIF_StrideSmallerOne_1x10x1x6_i16xi8_acci48_st-1-1_pad1001_dilat12/input-0.json b/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_StrideSmallerOne_1x10x1x6_i16xi8_acci48_st-1-1_pad1001_dilat12/input-0.json
new file mode 100644
index 000000000..081443989
--- /dev/null
+++ b/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_StrideSmallerOne_1x10x1x6_i16xi8_acci48_st-1-1_pad1001_dilat12/input-0.json
@@ -0,0 +1,107 @@
+{
+ "type": "int32",
+ "data": [
+ [
+ [
+ [
+ -18128,
+ -9960,
+ -18669,
+ 5165,
+ 7563,
+ -21647
+ ]
+ ],
+ [
+ [
+ -24651,
+ 10179,
+ -1981,
+ -15397,
+ -16003,
+ -30199
+ ]
+ ],
+ [
+ [
+ 23194,
+ 22397,
+ 3571,
+ -9869,
+ -18671,
+ -12620
+ ]
+ ],
+ [
+ [
+ 27948,
+ -26944,
+ 21161,
+ -12813,
+ -15382,
+ 20301
+ ]
+ ],
+ [
+ [
+ 30215,
+ 32213,
+ -15222,
+ 5970,
+ -13590,
+ -20088
+ ]
+ ],
+ [
+ [
+ -7474,
+ -28677,
+ -21968,
+ 6261,
+ 12256,
+ -15043
+ ]
+ ],
+ [
+ [
+ 3757,
+ 17335,
+ 25851,
+ 4487,
+ -16983,
+ 13935
+ ]
+ ],
+ [
+ [
+ -21612,
+ -23649,
+ -9266,
+ -11217,
+ -23193,
+ -29337
+ ]
+ ],
+ [
+ [
+ 29238,
+ 11621,
+ 14250,
+ -28425,
+ 19411,
+ -8883
+ ]
+ ],
+ [
+ [
+ 16255,
+ -630,
+ -16855,
+ -15583,
+ -23550,
+ 21606
+ ]
+ ]
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_StrideSmallerOne_1x10x1x6_i16xi8_acci48_st-1-1_pad1001_dilat12/test.json b/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_StrideSmallerOne_1x10x1x6_i16xi8_acci48_st-1-1_pad1001_dilat12/test.json
new file mode 100644
index 000000000..8c0882cbc
--- /dev/null
+++ b/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_StrideSmallerOne_1x10x1x6_i16xi8_acci48_st-1-1_pad1001_dilat12/test.json
@@ -0,0 +1,199 @@
+{
+ 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: [
+ 1,
+ 0,
+ 0,
+ 1
+ ],
+ stride: [
+ -1,
+ -1
+ ],
+ dilation: [
+ 1,
+ 2
+ ],
+ input_zp: 0,
+ weight_zp: -128,
+ 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: [
+ 237,
+ 71,
+ 84,
+ 170,
+ 212,
+ 159,
+ 130,
+ 124,
+ 40,
+ 243,
+ 179,
+ 23,
+ 10,
+ 185,
+ 131,
+ 248,
+ 2,
+ 76,
+ 228,
+ 152,
+ 97,
+ 233,
+ 56,
+ 139,
+ 137,
+ 133,
+ 74,
+ 189,
+ 74,
+ 113,
+ 41,
+ 124,
+ 109,
+ 57,
+ 77,
+ 26,
+ 184,
+ 154,
+ 225,
+ 249,
+ 217,
+ 154
+ ]
+ },
+ {
+ name: "const-2",
+ shape: [
+ 7
+ ],
+ type: "INT48",
+ data: [
+ 164,
+ 127,
+ 104,
+ 147,
+ 38,
+ 116,
+ 77,
+ 244,
+ 203,
+ 218,
+ 151,
+ 29,
+ 183,
+ 217,
+ 49,
+ 198,
+ 28,
+ 208,
+ 38,
+ 248,
+ 118,
+ 78,
+ 7,
+ 113,
+ 19,
+ 32,
+ 194,
+ 253,
+ 68,
+ 51,
+ 48,
+ 117,
+ 106,
+ 218,
+ 29,
+ 196,
+ 119,
+ 105,
+ 135,
+ 56,
+ 17,
+ 104
+ ]
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ -9,
+ 0,
+ 7
+ ],
+ type: "INT48"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}