aboutsummaryrefslogtreecommitdiff
path: root/operators/image/resize/resize_ERRORIF_WrongRank_1x4x1_bf16_modeB_outbf16_sc3x1x4x1_off0x0_bor0x0
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_WrongRank_1x4x1_bf16_modeB_outbf16_sc3x1x4x1_off0x0_bor0x0
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_WrongRank_1x4x1_bf16_modeB_outbf16_sc3x1x4x1_off0x0_bor0x0')
-rw-r--r--operators/image/resize/resize_ERRORIF_WrongRank_1x4x1_bf16_modeB_outbf16_sc3x1x4x1_off0x0_bor0x0/desc.json21
-rw-r--r--operators/image/resize/resize_ERRORIF_WrongRank_1x4x1_bf16_modeB_outbf16_sc3x1x4x1_off0x0_bor0x0/input-0.json19
-rw-r--r--operators/image/resize/resize_ERRORIF_WrongRank_1x4x1_bf16_modeB_outbf16_sc3x1x4x1_off0x0_bor0x0/test.json74
3 files changed, 114 insertions, 0 deletions
diff --git a/operators/image/resize/resize_ERRORIF_WrongRank_1x4x1_bf16_modeB_outbf16_sc3x1x4x1_off0x0_bor0x0/desc.json b/operators/image/resize/resize_ERRORIF_WrongRank_1x4x1_bf16_modeB_outbf16_sc3x1x4x1_off0x0_bor0x0/desc.json
new file mode 100644
index 000000000..c9d3d68c3
--- /dev/null
+++ b/operators/image/resize/resize_ERRORIF_WrongRank_1x4x1_bf16_modeB_outbf16_sc3x1x4x1_off0x0_bor0x0/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": "Rank not supported for this operator",
+ "profile": [
+ "tosa-mi"
+ ]
+} \ No newline at end of file
diff --git a/operators/image/resize/resize_ERRORIF_WrongRank_1x4x1_bf16_modeB_outbf16_sc3x1x4x1_off0x0_bor0x0/input-0.json b/operators/image/resize/resize_ERRORIF_WrongRank_1x4x1_bf16_modeB_outbf16_sc3x1x4x1_off0x0_bor0x0/input-0.json
new file mode 100644
index 000000000..e6bc363e6
--- /dev/null
+++ b/operators/image/resize/resize_ERRORIF_WrongRank_1x4x1_bf16_modeB_outbf16_sc3x1x4x1_off0x0_bor0x0/input-0.json
@@ -0,0 +1,19 @@
+{
+ "type": "float32",
+ "data": [
+ [
+ [
+ 0.310546875
+ ],
+ [
+ 0.296875
+ ],
+ [
+ 0.404296875
+ ],
+ [
+ 0.09423828125
+ ]
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/image/resize/resize_ERRORIF_WrongRank_1x4x1_bf16_modeB_outbf16_sc3x1x4x1_off0x0_bor0x0/test.json b/operators/image/resize/resize_ERRORIF_WrongRank_1x4x1_bf16_modeB_outbf16_sc3x1x4x1_off0x0_bor0x0/test.json
new file mode 100644
index 000000000..cf402388f
--- /dev/null
+++ b/operators/image/resize/resize_ERRORIF_WrongRank_1x4x1_bf16_modeB_outbf16_sc3x1x4x1_off0x0_bor0x0/test.json
@@ -0,0 +1,74 @@
+{
+ version: {
+ _major: 0,
+ _minor: 70,
+ _patch: 0,
+ _draft: true
+ },
+ regions: [
+ {
+ name: "main",
+ blocks: [
+ {
+ name: "main",
+ operators: [
+ {
+ op: "RESIZE",
+ attribute_type: "ResizeAttribute",
+ attribute: {
+ scale: [
+ 3,
+ 1,
+ 4,
+ 1
+ ],
+ offset: [
+ 0,
+ 0
+ ],
+ border: [
+ 0,
+ 0
+ ],
+ mode: "BILINEAR"
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 4,
+ 1
+ ],
+ type: "BF16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 10,
+ 1,
+ 1
+ ],
+ type: "BF16"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+ }
+ ]
+}