aboutsummaryrefslogtreecommitdiff
path: root/operators/image/resize/resize_ERRORIF_OffsetLargerEqualMax_1x6x9x1_f16_modeB_outf16_sc3x1x2x1_off50x0_bor0x1
diff options
context:
space:
mode:
Diffstat (limited to 'operators/image/resize/resize_ERRORIF_OffsetLargerEqualMax_1x6x9x1_f16_modeB_outf16_sc3x1x2x1_off50x0_bor0x1')
-rw-r--r--operators/image/resize/resize_ERRORIF_OffsetLargerEqualMax_1x6x9x1_f16_modeB_outf16_sc3x1x2x1_off50x0_bor0x1/desc.json21
-rw-r--r--operators/image/resize/resize_ERRORIF_OffsetLargerEqualMax_1x6x9x1_f16_modeB_outf16_sc3x1x2x1_off50x0_bor0x1/input-0.json181
-rw-r--r--operators/image/resize/resize_ERRORIF_OffsetLargerEqualMax_1x6x9x1_f16_modeB_outf16_sc3x1x2x1_off50x0_bor0x1/test.json75
3 files changed, 277 insertions, 0 deletions
diff --git a/operators/image/resize/resize_ERRORIF_OffsetLargerEqualMax_1x6x9x1_f16_modeB_outf16_sc3x1x2x1_off50x0_bor0x1/desc.json b/operators/image/resize/resize_ERRORIF_OffsetLargerEqualMax_1x6x9x1_f16_modeB_outf16_sc3x1x2x1_off50x0_bor0x1/desc.json
new file mode 100644
index 000000000..04432201c
--- /dev/null
+++ b/operators/image/resize/resize_ERRORIF_OffsetLargerEqualMax_1x6x9x1_f16_modeB_outf16_sc3x1x2x1_off50x0_bor0x1/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": "Offset value larger than or equal to maximum value",
+ "profile": [
+ "tosa-mi"
+ ]
+} \ No newline at end of file
diff --git a/operators/image/resize/resize_ERRORIF_OffsetLargerEqualMax_1x6x9x1_f16_modeB_outf16_sc3x1x2x1_off50x0_bor0x1/input-0.json b/operators/image/resize/resize_ERRORIF_OffsetLargerEqualMax_1x6x9x1_f16_modeB_outf16_sc3x1x2x1_off50x0_bor0x1/input-0.json
new file mode 100644
index 000000000..da7079581
--- /dev/null
+++ b/operators/image/resize/resize_ERRORIF_OffsetLargerEqualMax_1x6x9x1_f16_modeB_outf16_sc3x1x2x1_off50x0_bor0x1/input-0.json
@@ -0,0 +1,181 @@
+{
+ "type": "float16",
+ "data": [
+ [
+ [
+ [
+ 0.012725830078125
+ ],
+ [
+ 0.80322265625
+ ],
+ [
+ 0.85302734375
+ ],
+ [
+ 0.440185546875
+ ],
+ [
+ 0.5732421875
+ ],
+ [
+ 0.666015625
+ ],
+ [
+ 0.927734375
+ ],
+ [
+ 0.2186279296875
+ ],
+ [
+ 0.87890625
+ ]
+ ],
+ [
+ [
+ 0.8349609375
+ ],
+ [
+ 0.8759765625
+ ],
+ [
+ 0.1807861328125
+ ],
+ [
+ 0.283203125
+ ],
+ [
+ 0.62109375
+ ],
+ [
+ 0.2880859375
+ ],
+ [
+ 0.08575439453125
+ ],
+ [
+ 0.06854248046875
+ ],
+ [
+ 0.92041015625
+ ]
+ ],
+ [
+ [
+ 0.5888671875
+ ],
+ [
+ 0.120361328125
+ ],
+ [
+ 0.44921875
+ ],
+ [
+ 0.9619140625
+ ],
+ [
+ 0.52099609375
+ ],
+ [
+ 0.7197265625
+ ],
+ [
+ 0.359375
+ ],
+ [
+ 0.58349609375
+ ],
+ [
+ 0.0203399658203125
+ ]
+ ],
+ [
+ [
+ 0.38671875
+ ],
+ [
+ 0.27099609375
+ ],
+ [
+ 0.94580078125
+ ],
+ [
+ 0.0860595703125
+ ],
+ [
+ 0.6650390625
+ ],
+ [
+ 0.8125
+ ],
+ [
+ 0.338134765625
+ ],
+ [
+ 0.34619140625
+ ],
+ [
+ 0.0082855224609375
+ ]
+ ],
+ [
+ [
+ 0.267822265625
+ ],
+ [
+ 0.89453125
+ ],
+ [
+ 0.89794921875
+ ],
+ [
+ 0.57421875
+ ],
+ [
+ 0.73193359375
+ ],
+ [
+ 0.7568359375
+ ],
+ [
+ 0.3662109375
+ ],
+ [
+ 0.904296875
+ ],
+ [
+ 0.191162109375
+ ]
+ ],
+ [
+ [
+ 0.356689453125
+ ],
+ [
+ 0.8369140625
+ ],
+ [
+ 0.30078125
+ ],
+ [
+ 0.91552734375
+ ],
+ [
+ 0.52197265625
+ ],
+ [
+ 0.2296142578125
+ ],
+ [
+ 0.1895751953125
+ ],
+ [
+ 0.9501953125
+ ],
+ [
+ 0.9853515625
+ ]
+ ]
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/image/resize/resize_ERRORIF_OffsetLargerEqualMax_1x6x9x1_f16_modeB_outf16_sc3x1x2x1_off50x0_bor0x1/test.json b/operators/image/resize/resize_ERRORIF_OffsetLargerEqualMax_1x6x9x1_f16_modeB_outf16_sc3x1x2x1_off50x0_bor0x1/test.json
new file mode 100644
index 000000000..d00034a35
--- /dev/null
+++ b/operators/image/resize/resize_ERRORIF_OffsetLargerEqualMax_1x6x9x1_f16_modeB_outf16_sc3x1x2x1_off50x0_bor0x1/test.json
@@ -0,0 +1,75 @@
+{
+ version: {
+ _major: 0,
+ _minor: 51,
+ _patch: 0,
+ _draft: true
+ },
+ regions: [
+ {
+ name: "main",
+ blocks: [
+ {
+ name: "main",
+ operators: [
+ {
+ op: "RESIZE",
+ attribute_type: "ResizeAttribute",
+ attribute: {
+ scale: [
+ 3,
+ 1,
+ 2,
+ 1
+ ],
+ offset: [
+ 50,
+ 0
+ ],
+ border: [
+ 0,
+ 1
+ ],
+ mode: "BILINEAR"
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 6,
+ 9,
+ 1
+ ],
+ type: "FP16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 1,
+ 18,
+ 1
+ ],
+ type: "FP16"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+ }
+ ]
+}