aboutsummaryrefslogtreecommitdiff
path: root/operators/image/resize/resize_ERRORIF_WrongOutputList_1x3x7x5_bf16_modeB_outbf16_sc16x1x16x1_off-7x-...
diff options
context:
space:
mode:
authorJames Ward <james.ward@arm.com>2022-12-15 13:50:37 +0000
committerEric Kunze <eric.kunze@arm.com>2022-12-15 16:42:48 +0000
commitff47fea5f558845c7ff6bd07e89318a108736aa2 (patch)
tree53a46a385374707ceb0eb5a885098120534aa097 /operators/image/resize/resize_ERRORIF_WrongOutputList_1x3x7x5_bf16_modeB_outbf16_sc16x1x16x1_off-7x-7_bor7x7
parent1aa23bd44af0ae508dc83d26e66dfc6d68d837f8 (diff)
downloadconformance_tests-ff47fea5f558845c7ff6bd07e89318a108736aa2.tar.gz
Create MI tests for Image: RESIZE
Signed-off-by: James Ward <james.ward@arm.com> Change-Id: I95efbad04b950f0aa0e4ea3729ec1da94502d6b3
Diffstat (limited to 'operators/image/resize/resize_ERRORIF_WrongOutputList_1x3x7x5_bf16_modeB_outbf16_sc16x1x16x1_off-7x-7_bor7x7')
-rw-r--r--operators/image/resize/resize_ERRORIF_WrongOutputList_1x3x7x5_bf16_modeB_outbf16_sc16x1x16x1_off-7x-7_bor7x7/desc.json21
-rw-r--r--operators/image/resize/resize_ERRORIF_WrongOutputList_1x3x7x5_bf16_modeB_outbf16_sc16x1x16x1_off-7x-7_bor7x7/input-0.json160
-rw-r--r--operators/image/resize/resize_ERRORIF_WrongOutputList_1x3x7x5_bf16_modeB_outbf16_sc16x1x16x1_off-7x-7_bor7x7/test.json71
3 files changed, 252 insertions, 0 deletions
diff --git a/operators/image/resize/resize_ERRORIF_WrongOutputList_1x3x7x5_bf16_modeB_outbf16_sc16x1x16x1_off-7x-7_bor7x7/desc.json b/operators/image/resize/resize_ERRORIF_WrongOutputList_1x3x7x5_bf16_modeB_outbf16_sc16x1x16x1_off-7x-7_bor7x7/desc.json
new file mode 100644
index 000000000..671c6cfc2
--- /dev/null
+++ b/operators/image/resize/resize_ERRORIF_WrongOutputList_1x3x7x5_bf16_modeB_outbf16_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 output list does not match expected output",
+ "profile": [
+ "tosa-mi"
+ ]
+} \ No newline at end of file
diff --git a/operators/image/resize/resize_ERRORIF_WrongOutputList_1x3x7x5_bf16_modeB_outbf16_sc16x1x16x1_off-7x-7_bor7x7/input-0.json b/operators/image/resize/resize_ERRORIF_WrongOutputList_1x3x7x5_bf16_modeB_outbf16_sc16x1x16x1_off-7x-7_bor7x7/input-0.json
new file mode 100644
index 000000000..5be4aee57
--- /dev/null
+++ b/operators/image/resize/resize_ERRORIF_WrongOutputList_1x3x7x5_bf16_modeB_outbf16_sc16x1x16x1_off-7x-7_bor7x7/input-0.json
@@ -0,0 +1,160 @@
+{
+ "type": "float32",
+ "data": [
+ [
+ [
+ [
+ 0.48828125,
+ 0.478515625,
+ 0.99609375,
+ 0.96484375,
+ 0.1953125
+ ],
+ [
+ 0.72265625,
+ 0.98046875,
+ 0.09375,
+ 0.008056640625,
+ 0.255859375
+ ],
+ [
+ 0.00372314453125,
+ 0.8515625,
+ 0.10107421875,
+ 0.494140625,
+ 0.46875
+ ],
+ [
+ 0.63671875,
+ 0.5859375,
+ 0.8203125,
+ 0.400390625,
+ 0.9140625
+ ],
+ [
+ 0.3671875,
+ 0.5,
+ 0.84375,
+ 0.46484375,
+ 0.359375
+ ],
+ [
+ 0.94140625,
+ 0.6171875,
+ 0.56640625,
+ 0.83203125,
+ 0.2001953125
+ ],
+ [
+ 0.29296875,
+ 0.4453125,
+ 0.2421875,
+ 0.91796875,
+ 0.79296875
+ ]
+ ],
+ [
+ [
+ 0.44140625,
+ 0.2197265625,
+ 0.96875,
+ 0.412109375,
+ 0.95703125
+ ],
+ [
+ 0.6328125,
+ 0.026123046875,
+ 0.236328125,
+ 0.0252685546875,
+ 0.66796875
+ ],
+ [
+ 0.205078125,
+ 0.53515625,
+ 0.0810546875,
+ 0.060546875,
+ 0.08935546875
+ ],
+ [
+ 0.703125,
+ 0.76171875,
+ 0.1923828125,
+ 0.9375,
+ 0.82421875
+ ],
+ [
+ 0.6328125,
+ 0.33984375,
+ 0.11962890625,
+ 0.73828125,
+ 0.65234375
+ ],
+ [
+ 0.87890625,
+ 0.8515625,
+ 0.6015625,
+ 0.84765625,
+ 0.9375
+ ],
+ [
+ 0.5078125,
+ 0.244140625,
+ 0.5546875,
+ 0.1962890625,
+ 0.443359375
+ ]
+ ],
+ [
+ [
+ 0.828125,
+ 0.05224609375,
+ 0.45703125,
+ 0.294921875,
+ 0.7109375
+ ],
+ [
+ 0.478515625,
+ 0.61328125,
+ 0.365234375,
+ 0.67578125,
+ 0.7890625
+ ],
+ [
+ 0.2265625,
+ 0.61328125,
+ 0.2021484375,
+ 0.6953125,
+ 0.60546875
+ ],
+ [
+ 0.3359375,
+ 0.52734375,
+ 0.85546875,
+ 0.75390625,
+ 0.5625
+ ],
+ [
+ 0.2412109375,
+ 0.703125,
+ 0.84375,
+ 0.67578125,
+ 0.84375
+ ],
+ [
+ 0.421875,
+ 0.8359375,
+ 0.7890625,
+ 0.279296875,
+ 0.53125
+ ],
+ [
+ 0.359375,
+ 0.1474609375,
+ 0.466796875,
+ 0.427734375,
+ 0.0673828125
+ ]
+ ]
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/image/resize/resize_ERRORIF_WrongOutputList_1x3x7x5_bf16_modeB_outbf16_sc16x1x16x1_off-7x-7_bor7x7/test.json b/operators/image/resize/resize_ERRORIF_WrongOutputList_1x3x7x5_bf16_modeB_outbf16_sc16x1x16x1_off-7x-7_bor7x7/test.json
new file mode 100644
index 000000000..cc50cf0b0
--- /dev/null
+++ b/operators/image/resize/resize_ERRORIF_WrongOutputList_1x3x7x5_bf16_modeB_outbf16_sc16x1x16x1_off-7x-7_bor7x7/test.json
@@ -0,0 +1,71 @@
+{
+ version: {
+ _major: 0,
+ _minor: 51,
+ _patch: 0,
+ _draft: true
+ },
+ 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"
+ ],
+ outputs: [
+ "result-0",
+ "eiDummyOutput"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 3,
+ 7,
+ 5
+ ],
+ type: "BF16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 47,
+ 111,
+ 5
+ ],
+ type: "BF16"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}