diff options
Diffstat (limited to 'operators/image/resize/resize_ERRORIF_WrongOutputType_1x2x1x7_bf16_modeB_outf32_sc4x1x4x1_off0x0_bor0x0')
3 files changed, 125 insertions, 0 deletions
diff --git a/operators/image/resize/resize_ERRORIF_WrongOutputType_1x2x1x7_bf16_modeB_outf32_sc4x1x4x1_off0x0_bor0x0/desc.json b/operators/image/resize/resize_ERRORIF_WrongOutputType_1x2x1x7_bf16_modeB_outf32_sc4x1x4x1_off0x0_bor0x0/desc.json new file mode 100644 index 000000000..d57e8394e --- /dev/null +++ b/operators/image/resize/resize_ERRORIF_WrongOutputType_1x2x1x7_bf16_modeB_outf32_sc4x1x4x1_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": "Output data type not supported for this configuration of operator", + "profile": [ + "tosa-mi" + ] +}
\ No newline at end of file diff --git a/operators/image/resize/resize_ERRORIF_WrongOutputType_1x2x1x7_bf16_modeB_outf32_sc4x1x4x1_off0x0_bor0x0/input-0.json b/operators/image/resize/resize_ERRORIF_WrongOutputType_1x2x1x7_bf16_modeB_outf32_sc4x1x4x1_off0x0_bor0x0/input-0.json new file mode 100644 index 000000000..5a8fc6a75 --- /dev/null +++ b/operators/image/resize/resize_ERRORIF_WrongOutputType_1x2x1x7_bf16_modeB_outf32_sc4x1x4x1_off0x0_bor0x0/input-0.json @@ -0,0 +1,29 @@ +{ + "type": "float32", + "data": [ + [ + [ + [ + 0.47265625, + 0.291015625, + 0.64453125, + 0.181640625, + 0.85546875, + 0.96484375, + 0.9296875 + ] + ], + [ + [ + 0.6796875, + 0.2333984375, + 0.9609375, + 0.70703125, + 0.00469970703125, + 0.400390625, + 0.0067138671875 + ] + ] + ] + ] +}
\ No newline at end of file diff --git a/operators/image/resize/resize_ERRORIF_WrongOutputType_1x2x1x7_bf16_modeB_outf32_sc4x1x4x1_off0x0_bor0x0/test.json b/operators/image/resize/resize_ERRORIF_WrongOutputType_1x2x1x7_bf16_modeB_outf32_sc4x1x4x1_off0x0_bor0x0/test.json new file mode 100644 index 000000000..df1bb5359 --- /dev/null +++ b/operators/image/resize/resize_ERRORIF_WrongOutputType_1x2x1x7_bf16_modeB_outf32_sc4x1x4x1_off0x0_bor0x0/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: [ + 4, + 1, + 4, + 1 + ], + offset: [ + 0, + 0 + ], + border: [ + 0, + 0 + ], + mode: "BILINEAR" + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 2, + 1, + 7 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 1, + 5, + 1, + 7 + ], + type: "FP32" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] + } + ] +} |