aboutsummaryrefslogtreecommitdiff
path: root/operators/image/resize/resize_ERRORIF_WrongInputList_1x1x3x4_f32_modeB_outf32_sc16x1x16x1_off-7x-7_b...
diff options
context:
space:
mode:
authorJeremy Johnson <jeremy.johnson@arm.com>2023-04-26 15:51:12 +0100
committerJeremy Johnson <jeremy.johnson@arm.com>2023-04-26 16:31:35 +0100
commitb97992f592a277a96defb8c14575a5c350f96944 (patch)
tree0ad286c6e9e6ee7840f03f8defb5ff7415fccf2a /operators/image/resize/resize_ERRORIF_WrongInputList_1x1x3x4_f32_modeB_outf32_sc16x1x16x1_off-7x-7_bor7x7
parent523ce4cb02b09f4d737ee1c8d322d19890a1cf1e (diff)
downloadconformance_tests-b97992f592a277a96defb8c14575a5c350f96944.tar.gz
Updating IMAGE tests for 8k level support
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com> Change-Id: Ia8cc8d396fa0a8921beedea84bfb49c91ea82099
Diffstat (limited to 'operators/image/resize/resize_ERRORIF_WrongInputList_1x1x3x4_f32_modeB_outf32_sc16x1x16x1_off-7x-7_bor7x7')
-rw-r--r--operators/image/resize/resize_ERRORIF_WrongInputList_1x1x3x4_f32_modeB_outf32_sc16x1x16x1_off-7x-7_bor7x7/desc.json21
-rw-r--r--operators/image/resize/resize_ERRORIF_WrongInputList_1x1x3x4_f32_modeB_outf32_sc16x1x16x1_off-7x-7_bor7x7/input-0.json27
-rw-r--r--operators/image/resize/resize_ERRORIF_WrongInputList_1x1x3x4_f32_modeB_outf32_sc16x1x16x1_off-7x-7_bor7x7/test.json76
3 files changed, 124 insertions, 0 deletions
diff --git a/operators/image/resize/resize_ERRORIF_WrongInputList_1x1x3x4_f32_modeB_outf32_sc16x1x16x1_off-7x-7_bor7x7/desc.json b/operators/image/resize/resize_ERRORIF_WrongInputList_1x1x3x4_f32_modeB_outf32_sc16x1x16x1_off-7x-7_bor7x7/desc.json
new file mode 100644
index 000000000..b4526f1cb
--- /dev/null
+++ b/operators/image/resize/resize_ERRORIF_WrongInputList_1x1x3x4_f32_modeB_outf32_sc16x1x16x1_off-7x-7_bor7x7/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": "Op input list does not match expected input",
+ "profile": [
+ "tosa-mi"
+ ]
+} \ No newline at end of file
diff --git a/operators/image/resize/resize_ERRORIF_WrongInputList_1x1x3x4_f32_modeB_outf32_sc16x1x16x1_off-7x-7_bor7x7/input-0.json b/operators/image/resize/resize_ERRORIF_WrongInputList_1x1x3x4_f32_modeB_outf32_sc16x1x16x1_off-7x-7_bor7x7/input-0.json
new file mode 100644
index 000000000..a1657892c
--- /dev/null
+++ b/operators/image/resize/resize_ERRORIF_WrongInputList_1x1x3x4_f32_modeB_outf32_sc16x1x16x1_off-7x-7_bor7x7/input-0.json
@@ -0,0 +1,27 @@
+{
+ "type": "float32",
+ "data": [
+ [
+ [
+ [
+ 0.5254971981048584,
+ 0.03349298983812332,
+ 0.8416330814361572,
+ 0.49799051880836487
+ ],
+ [
+ 0.11017642915248871,
+ 0.5713216066360474,
+ 0.6973012089729309,
+ 0.20868532359600067
+ ],
+ [
+ 0.5605297684669495,
+ 0.6554966568946838,
+ 0.5294118523597717,
+ 0.018156753852963448
+ ]
+ ]
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/image/resize/resize_ERRORIF_WrongInputList_1x1x3x4_f32_modeB_outf32_sc16x1x16x1_off-7x-7_bor7x7/test.json b/operators/image/resize/resize_ERRORIF_WrongInputList_1x1x3x4_f32_modeB_outf32_sc16x1x16x1_off-7x-7_bor7x7/test.json
new file mode 100644
index 000000000..76a0b0a6d
--- /dev/null
+++ b/operators/image/resize/resize_ERRORIF_WrongInputList_1x1x3x4_f32_modeB_outf32_sc16x1x16x1_off-7x-7_bor7x7/test.json
@@ -0,0 +1,76 @@
+{
+ version: {
+ _major: 0,
+ _minor: 70,
+ _patch: 0,
+ _draft: true
+ },
+ regions: [
+ {
+ name: "main",
+ blocks: [
+ {
+ name: "main",
+ operators: [
+ {
+ op: "RESIZE",
+ attribute_type: "ResizeAttribute",
+ attribute: {
+ scale: [
+ 16,
+ 1,
+ 16,
+ 1
+ ],
+ offset: [
+ -7,
+ -7
+ ],
+ border: [
+ 7,
+ 7
+ ],
+ mode: "BILINEAR"
+ },
+ inputs: [
+ "input-0",
+ "eiDummyInput"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 1,
+ 3,
+ 4
+ ],
+ type: "FP32"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 15,
+ 47,
+ 4
+ ],
+ type: "FP32"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+ }
+ ]
+}