aboutsummaryrefslogtreecommitdiff
path: root/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WeightZeroPointNotZero_1x1x2x3_f16xf16_accf32_st...
diff options
context:
space:
mode:
authorJames Ward <james.ward@arm.com>2023-02-21 10:37:24 +0000
committerEric Kunze <eric.kunze@arm.com>2023-02-22 16:36:06 +0000
commit8f523840638434699bb53e0c986a0f84b38f6b70 (patch)
treec9dc34dceabff01632f07e887323ddf3c0da9f3b /operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WeightZeroPointNotZero_1x1x2x3_f16xf16_accf32_st11_pad0000_os1x1x2x2
parentf42c430ce7d8c7c3fa412ba48c5e602def6f639c (diff)
downloadconformance_tests-8f523840638434699bb53e0c986a0f84b38f6b70.tar.gz
Create MI tests for Tensors: TRANSPOSE_CONV2D
Signed-off-by: James Ward <james.ward@arm.com> Change-Id: I9ce5f8b26e03d53ef62d07da139f532f39a31d4b
Diffstat (limited to 'operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WeightZeroPointNotZero_1x1x2x3_f16xf16_accf32_st11_pad0000_os1x1x2x2')
-rw-r--r--operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WeightZeroPointNotZero_1x1x2x3_f16xf16_accf32_st11_pad0000_os1x1x2x2/desc.json21
-rw-r--r--operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WeightZeroPointNotZero_1x1x2x3_f16xf16_accf32_st11_pad0000_os1x1x2x2/input-0.json19
-rw-r--r--operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WeightZeroPointNotZero_1x1x2x3_f16xf16_accf32_st11_pad0000_os1x1x2x2/test.json141
3 files changed, 181 insertions, 0 deletions
diff --git a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WeightZeroPointNotZero_1x1x2x3_f16xf16_accf32_st11_pad0000_os1x1x2x2/desc.json b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WeightZeroPointNotZero_1x1x2x3_f16xf16_accf32_st11_pad0000_os1x1x2x2/desc.json
new file mode 100644
index 000000000..56f2242d4
--- /dev/null
+++ b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WeightZeroPointNotZero_1x1x2x3_f16xf16_accf32_st11_pad0000_os1x1x2x2/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": "Weight DType not INT8 and zero point not 0",
+ "profile": [
+ "tosa-mi"
+ ]
+} \ No newline at end of file
diff --git a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WeightZeroPointNotZero_1x1x2x3_f16xf16_accf32_st11_pad0000_os1x1x2x2/input-0.json b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WeightZeroPointNotZero_1x1x2x3_f16xf16_accf32_st11_pad0000_os1x1x2x2/input-0.json
new file mode 100644
index 000000000..f6eaa92ac
--- /dev/null
+++ b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WeightZeroPointNotZero_1x1x2x3_f16xf16_accf32_st11_pad0000_os1x1x2x2/input-0.json
@@ -0,0 +1,19 @@
+{
+ "type": "float16",
+ "data": [
+ [
+ [
+ [
+ 0.2099609375,
+ 0.1544189453125,
+ 0.1239013671875
+ ],
+ [
+ 0.92626953125,
+ 0.01384735107421875,
+ 0.60205078125
+ ]
+ ]
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WeightZeroPointNotZero_1x1x2x3_f16xf16_accf32_st11_pad0000_os1x1x2x2/test.json b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WeightZeroPointNotZero_1x1x2x3_f16xf16_accf32_st11_pad0000_os1x1x2x2/test.json
new file mode 100644
index 000000000..5521f8463
--- /dev/null
+++ b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WeightZeroPointNotZero_1x1x2x3_f16xf16_accf32_st11_pad0000_os1x1x2x2/test.json
@@ -0,0 +1,141 @@
+{
+ 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,
+ 2,
+ 2
+ ],
+ input_zp: 0,
+ weight_zp: 121
+ },
+ inputs: [
+ "input-0",
+ "const-1",
+ "const-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 1,
+ 2,
+ 3
+ ],
+ type: "FP16"
+ },
+ {
+ name: "const-1",
+ shape: [
+ 2,
+ 1,
+ 1,
+ 3
+ ],
+ type: "FP16",
+ data: [
+ 148,
+ 59,
+ 195,
+ 53,
+ 55,
+ 56,
+ 145,
+ 57,
+ 19,
+ 53,
+ 164,
+ 55
+ ]
+ },
+ {
+ name: "const-2",
+ shape: [
+ 2
+ ],
+ type: "FP32",
+ data: [
+ 167,
+ 45,
+ 81,
+ 63,
+ 161,
+ 207,
+ 62,
+ 63
+ ]
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 1,
+ 2,
+ 2
+ ],
+ type: "FP32"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+ }
+ ]
+}