aboutsummaryrefslogtreecommitdiff
path: root/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongInputType_1x1x7x2_i4xi4_acci4_st11_pad0000_os1x1x7x1
diff options
context:
space:
mode:
Diffstat (limited to 'operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongInputType_1x1x7x2_i4xi4_acci4_st11_pad0000_os1x1x7x1')
-rw-r--r--operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongInputType_1x1x7x2_i4xi4_acci4_st11_pad0000_os1x1x7x1/desc.json21
-rw-r--r--operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongInputType_1x1x7x2_i4xi4_acci4_st11_pad0000_os1x1x7x1/input-0.json37
-rw-r--r--operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongInputType_1x1x7x2_i4xi4_acci4_st11_pad0000_os1x1x7x1/test.json123
3 files changed, 181 insertions, 0 deletions
diff --git a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongInputType_1x1x7x2_i4xi4_acci4_st11_pad0000_os1x1x7x1/desc.json b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongInputType_1x1x7x2_i4xi4_acci4_st11_pad0000_os1x1x7x1/desc.json
new file mode 100644
index 000000000..15cad4b15
--- /dev/null
+++ b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongInputType_1x1x7x2_i4xi4_acci4_st11_pad0000_os1x1x7x1/desc.json
@@ -0,0 +1,21 @@
+{
+ "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": "Input data type not supported for this operator",
+ "profile": [
+ "tosa-mi"
+ ]
+} \ No newline at end of file
diff --git a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongInputType_1x1x7x2_i4xi4_acci4_st11_pad0000_os1x1x7x1/input-0.json b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongInputType_1x1x7x2_i4xi4_acci4_st11_pad0000_os1x1x7x1/input-0.json
new file mode 100644
index 000000000..3420e811b
--- /dev/null
+++ b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongInputType_1x1x7x2_i4xi4_acci4_st11_pad0000_os1x1x7x1/input-0.json
@@ -0,0 +1,37 @@
+{
+ "type": "int32",
+ "data": [
+ [
+ [
+ [
+ 2,
+ 2
+ ],
+ [
+ 2,
+ 4
+ ],
+ [
+ 4,
+ -5
+ ],
+ [
+ 5,
+ 1
+ ],
+ [
+ -3,
+ 0
+ ],
+ [
+ 7,
+ 5
+ ],
+ [
+ 5,
+ -1
+ ]
+ ]
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongInputType_1x1x7x2_i4xi4_acci4_st11_pad0000_os1x1x7x1/test.json b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongInputType_1x1x7x2_i4xi4_acci4_st11_pad0000_os1x1x7x1/test.json
new file mode 100644
index 000000000..ffecf168b
--- /dev/null
+++ b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongInputType_1x1x7x2_i4xi4_acci4_st11_pad0000_os1x1x7x1/test.json
@@ -0,0 +1,123 @@
+{
+ version: {
+ _major: 0,
+ _minor: 51,
+ _patch: 0,
+ _draft: true
+ },
+ regions: [
+ {
+ name: "main",
+ 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,
+ 1,
+ 7,
+ 1
+ ],
+ input_zp: 0,
+ weight_zp: 0
+ },
+ inputs: [
+ "input-0",
+ "const-1",
+ "const-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 1,
+ 7,
+ 2
+ ],
+ type: "INT4"
+ },
+ {
+ name: "const-1",
+ shape: [
+ 1,
+ 1,
+ 1,
+ 2
+ ],
+ type: "INT4",
+ data: [
+ 228
+ ]
+ },
+ {
+ name: "const-2",
+ shape: [
+ 1
+ ],
+ type: "INT4",
+ data: [
+ 3
+ ]
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 1,
+ 7,
+ 1
+ ],
+ type: "INT32"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+ }
+ ]
+}