aboutsummaryrefslogtreecommitdiff
path: root/operators/image/resize/resize_ERRORIF_ResizeOutputShapeMismatch_1x3x9x2_f16_modeB_outf16_sc16x1x9x1_...
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_ResizeOutputShapeMismatch_1x3x9x2_f16_modeB_outf16_sc16x1x9x1_off0x0_bor3x0
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_ResizeOutputShapeMismatch_1x3x9x2_f16_modeB_outf16_sc16x1x9x1_off0x0_bor3x0')
-rw-r--r--operators/image/resize/resize_ERRORIF_ResizeOutputShapeMismatch_1x3x9x2_f16_modeB_outf16_sc16x1x9x1_off0x0_bor3x0/desc.json21
-rw-r--r--operators/image/resize/resize_ERRORIF_ResizeOutputShapeMismatch_1x3x9x2_f16_modeB_outf16_sc16x1x9x1_off0x0_bor3x0/input-0.json121
-rw-r--r--operators/image/resize/resize_ERRORIF_ResizeOutputShapeMismatch_1x3x9x2_f16_modeB_outf16_sc16x1x9x1_off0x0_bor3x0/test.json75
3 files changed, 217 insertions, 0 deletions
diff --git a/operators/image/resize/resize_ERRORIF_ResizeOutputShapeMismatch_1x3x9x2_f16_modeB_outf16_sc16x1x9x1_off0x0_bor3x0/desc.json b/operators/image/resize/resize_ERRORIF_ResizeOutputShapeMismatch_1x3x9x2_f16_modeB_outf16_sc16x1x9x1_off0x0_bor3x0/desc.json
new file mode 100644
index 000000000..2fc8edae4
--- /dev/null
+++ b/operators/image/resize/resize_ERRORIF_ResizeOutputShapeMismatch_1x3x9x2_f16_modeB_outf16_sc16x1x9x1_off0x0_bor3x0/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": "Mismatch between output shape provided and expected output shape",
+ "profile": [
+ "tosa-mi"
+ ]
+} \ No newline at end of file
diff --git a/operators/image/resize/resize_ERRORIF_ResizeOutputShapeMismatch_1x3x9x2_f16_modeB_outf16_sc16x1x9x1_off0x0_bor3x0/input-0.json b/operators/image/resize/resize_ERRORIF_ResizeOutputShapeMismatch_1x3x9x2_f16_modeB_outf16_sc16x1x9x1_off0x0_bor3x0/input-0.json
new file mode 100644
index 000000000..f809cc322
--- /dev/null
+++ b/operators/image/resize/resize_ERRORIF_ResizeOutputShapeMismatch_1x3x9x2_f16_modeB_outf16_sc16x1x9x1_off0x0_bor3x0/input-0.json
@@ -0,0 +1,121 @@
+{
+ "type": "float16",
+ "data": [
+ [
+ [
+ [
+ 0.0928955078125,
+ 0.8916015625
+ ],
+ [
+ 0.0305328369140625,
+ 0.223876953125
+ ],
+ [
+ 0.0041656494140625,
+ 0.8125
+ ],
+ [
+ 0.1751708984375,
+ 0.3154296875
+ ],
+ [
+ 0.59912109375,
+ 0.0711669921875
+ ],
+ [
+ 0.6455078125,
+ 0.041107177734375
+ ],
+ [
+ 0.2222900390625,
+ 0.63818359375
+ ],
+ [
+ 0.392822265625,
+ 0.5966796875
+ ],
+ [
+ 0.1654052734375,
+ 0.2161865234375
+ ]
+ ],
+ [
+ [
+ 0.408935546875,
+ 0.4814453125
+ ],
+ [
+ 0.185546875,
+ 0.701171875
+ ],
+ [
+ 0.321044921875,
+ 0.205078125
+ ],
+ [
+ 0.56640625,
+ 0.75146484375
+ ],
+ [
+ 0.8544921875,
+ 0.83544921875
+ ],
+ [
+ 0.984375,
+ 0.294921875
+ ],
+ [
+ 0.12030029296875,
+ 0.475341796875
+ ],
+ [
+ 0.5390625,
+ 0.98828125
+ ],
+ [
+ 0.62109375,
+ 0.50146484375
+ ]
+ ],
+ [
+ [
+ 0.52490234375,
+ 0.7734375
+ ],
+ [
+ 0.72802734375,
+ 0.62109375
+ ],
+ [
+ 0.94091796875,
+ 0.4150390625
+ ],
+ [
+ 0.59228515625,
+ 0.9365234375
+ ],
+ [
+ 0.52294921875,
+ 0.9521484375
+ ],
+ [
+ 0.78564453125,
+ 0.97412109375
+ ],
+ [
+ 0.65771484375,
+ 0.314697265625
+ ],
+ [
+ 0.9697265625,
+ 0.1002197265625
+ ],
+ [
+ 0.84423828125,
+ 0.4619140625
+ ]
+ ]
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/image/resize/resize_ERRORIF_ResizeOutputShapeMismatch_1x3x9x2_f16_modeB_outf16_sc16x1x9x1_off0x0_bor3x0/test.json b/operators/image/resize/resize_ERRORIF_ResizeOutputShapeMismatch_1x3x9x2_f16_modeB_outf16_sc16x1x9x1_off0x0_bor3x0/test.json
new file mode 100644
index 000000000..af64e97a4
--- /dev/null
+++ b/operators/image/resize/resize_ERRORIF_ResizeOutputShapeMismatch_1x3x9x2_f16_modeB_outf16_sc16x1x9x1_off0x0_bor3x0/test.json
@@ -0,0 +1,75 @@
+{
+ 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,
+ 9,
+ 1
+ ],
+ offset: [
+ 0,
+ 0
+ ],
+ border: [
+ 3,
+ 0
+ ],
+ mode: "BILINEAR"
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 3,
+ 9,
+ 2
+ ],
+ type: "FP16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 37,
+ 73,
+ 2
+ ],
+ type: "FP16"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+ }
+ ]
+}