aboutsummaryrefslogtreecommitdiff
path: root/operators/image/resize/resize_ERRORIF_WrongInputList_1x2x7x6_i8_modeB_outi32_sc16x1x9x1_off0x0_bor0x5
diff options
context:
space:
mode:
authorJeremy Johnson <jeremy.johnson@arm.com>2022-10-13 12:50:25 +0100
committerJeremy Johnson <jeremy.johnson@arm.com>2022-10-13 12:50:25 +0100
commit52bfc1a26ec8a1583a274bedf848f3ff3047a2d6 (patch)
tree51cfeb0a1d0d9dcbd4f5aa25a8af6551a41baf58 /operators/image/resize/resize_ERRORIF_WrongInputList_1x2x7x6_i8_modeB_outi32_sc16x1x9x1_off0x0_bor0x5
parent7746767e3a0a421bdf64ef5cf0c8926bcfa86d1f (diff)
downloadconformance_tests-52bfc1a26ec8a1583a274bedf848f3ff3047a2d6.tar.gz
Updating IMAGE tests for FP16 and accumulator types
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com> Change-Id: Ic72d5ee6733ee0b36bc8c851dc762838534eff5d
Diffstat (limited to 'operators/image/resize/resize_ERRORIF_WrongInputList_1x2x7x6_i8_modeB_outi32_sc16x1x9x1_off0x0_bor0x5')
-rw-r--r--operators/image/resize/resize_ERRORIF_WrongInputList_1x2x7x6_i8_modeB_outi32_sc16x1x9x1_off0x0_bor0x5/desc.json22
-rw-r--r--operators/image/resize/resize_ERRORIF_WrongInputList_1x2x7x6_i8_modeB_outi32_sc16x1x9x1_off0x0_bor0x5/input-0.json123
-rw-r--r--operators/image/resize/resize_ERRORIF_WrongInputList_1x2x7x6_i8_modeB_outi32_sc16x1x9x1_off0x0_bor0x5/test.json70
3 files changed, 215 insertions, 0 deletions
diff --git a/operators/image/resize/resize_ERRORIF_WrongInputList_1x2x7x6_i8_modeB_outi32_sc16x1x9x1_off0x0_bor0x5/desc.json b/operators/image/resize/resize_ERRORIF_WrongInputList_1x2x7x6_i8_modeB_outi32_sc16x1x9x1_off0x0_bor0x5/desc.json
new file mode 100644
index 000000000..bf7c1974a
--- /dev/null
+++ b/operators/image/resize/resize_ERRORIF_WrongInputList_1x2x7x6_i8_modeB_outi32_sc16x1x9x1_off0x0_bor0x5/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": "Op input list does not match expected input",
+ "profile": [
+ "tosa-bi",
+ "tosa-mi"
+ ]
+} \ No newline at end of file
diff --git a/operators/image/resize/resize_ERRORIF_WrongInputList_1x2x7x6_i8_modeB_outi32_sc16x1x9x1_off0x0_bor0x5/input-0.json b/operators/image/resize/resize_ERRORIF_WrongInputList_1x2x7x6_i8_modeB_outi32_sc16x1x9x1_off0x0_bor0x5/input-0.json
new file mode 100644
index 000000000..fdd269d6d
--- /dev/null
+++ b/operators/image/resize/resize_ERRORIF_WrongInputList_1x2x7x6_i8_modeB_outi32_sc16x1x9x1_off0x0_bor0x5/input-0.json
@@ -0,0 +1,123 @@
+{
+ "type": "int32",
+ "data": [
+ [
+ [
+ [
+ 65,
+ 33,
+ -31,
+ 8,
+ -108,
+ 31
+ ],
+ [
+ 40,
+ 58,
+ 107,
+ -101,
+ -112,
+ -18
+ ],
+ [
+ -9,
+ 44,
+ -74,
+ 79,
+ 9,
+ 86
+ ],
+ [
+ -32,
+ -105,
+ -18,
+ -6,
+ -81,
+ 33
+ ],
+ [
+ -108,
+ 116,
+ -81,
+ -106,
+ 57,
+ 66
+ ],
+ [
+ -61,
+ 93,
+ 71,
+ -55,
+ 30,
+ 30
+ ],
+ [
+ -124,
+ -113,
+ -85,
+ -104,
+ 3,
+ 55
+ ]
+ ],
+ [
+ [
+ -23,
+ 87,
+ 59,
+ 62,
+ 16,
+ -79
+ ],
+ [
+ 9,
+ -17,
+ 103,
+ -111,
+ -102,
+ 56
+ ],
+ [
+ 25,
+ 52,
+ 113,
+ -107,
+ -47,
+ 40
+ ],
+ [
+ 57,
+ -127,
+ 10,
+ -86,
+ -128,
+ 56
+ ],
+ [
+ 20,
+ -65,
+ -65,
+ 121,
+ -10,
+ -91
+ ],
+ [
+ 86,
+ 122,
+ 119,
+ 103,
+ -114,
+ 84
+ ],
+ [
+ 35,
+ 19,
+ -67,
+ 4,
+ 85,
+ -95
+ ]
+ ]
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/image/resize/resize_ERRORIF_WrongInputList_1x2x7x6_i8_modeB_outi32_sc16x1x9x1_off0x0_bor0x5/test.json b/operators/image/resize/resize_ERRORIF_WrongInputList_1x2x7x6_i8_modeB_outi32_sc16x1x9x1_off0x0_bor0x5/test.json
new file mode 100644
index 000000000..699873e78
--- /dev/null
+++ b/operators/image/resize/resize_ERRORIF_WrongInputList_1x2x7x6_i8_modeB_outi32_sc16x1x9x1_off0x0_bor0x5/test.json
@@ -0,0 +1,70 @@
+{
+ version: {
+ _major: 0,
+ _minor: 41,
+ _patch: 0,
+ _draft: true
+ },
+ blocks: [
+ {
+ name: "main",
+ operators: [
+ {
+ op: "RESIZE",
+ attribute_type: "ResizeAttribute",
+ attribute: {
+ scale: [
+ 16,
+ 1,
+ 9,
+ 1
+ ],
+ offset: [
+ 0,
+ 0
+ ],
+ border: [
+ 0,
+ 5
+ ],
+ mode: "BILINEAR"
+ },
+ inputs: [
+
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 2,
+ 7,
+ 6
+ ],
+ type: "INT8"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 17,
+ 60,
+ 6
+ ],
+ type: "INT32"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}