diff options
Diffstat (limited to 'operators/image/resize/resize_ERRORIF_WrongOutputList_1x2x5x3_bf16_modeB_outbf16_sc16x1x16x1_off-7x-7_bor7x7')
3 files changed, 158 insertions, 0 deletions
diff --git a/operators/image/resize/resize_ERRORIF_WrongOutputList_1x2x5x3_bf16_modeB_outbf16_sc16x1x16x1_off-7x-7_bor7x7/desc.json b/operators/image/resize/resize_ERRORIF_WrongOutputList_1x2x5x3_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_1x2x5x3_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_1x2x5x3_bf16_modeB_outbf16_sc16x1x16x1_off-7x-7_bor7x7/input-0.json b/operators/image/resize/resize_ERRORIF_WrongOutputList_1x2x5x3_bf16_modeB_outbf16_sc16x1x16x1_off-7x-7_bor7x7/input-0.json new file mode 100644 index 000000000..772076f29 --- /dev/null +++ b/operators/image/resize/resize_ERRORIF_WrongOutputList_1x2x5x3_bf16_modeB_outbf16_sc16x1x16x1_off-7x-7_bor7x7/input-0.json @@ -0,0 +1,61 @@ +{ + "type": "float32", + "data": [ + [ + [ + [ + 0.408203125, + 0.67578125, + 0.0225830078125 + ], + [ + 0.5546875, + 0.58984375, + 0.59375 + ], + [ + 0.91015625, + 0.1083984375, + 0.2353515625 + ], + [ + 0.34375, + 0.0576171875, + 0.0038299560546875 + ], + [ + 0.62109375, + 0.357421875, + 0.470703125 + ] + ], + [ + [ + 0.0966796875, + 0.51953125, + 0.09326171875 + ], + [ + 0.08447265625, + 0.201171875, + 0.078125 + ], + [ + 0.322265625, + 0.61328125, + 0.69921875 + ], + [ + 0.0078125, + 0.11279296875, + 0.064453125 + ], + [ + 0.5625, + 0.244140625, + 0.95703125 + ] + ] + ] + ] +}
\ No newline at end of file diff --git a/operators/image/resize/resize_ERRORIF_WrongOutputList_1x2x5x3_bf16_modeB_outbf16_sc16x1x16x1_off-7x-7_bor7x7/test.json b/operators/image/resize/resize_ERRORIF_WrongOutputList_1x2x5x3_bf16_modeB_outbf16_sc16x1x16x1_off-7x-7_bor7x7/test.json new file mode 100644 index 000000000..191ae79a6 --- /dev/null +++ b/operators/image/resize/resize_ERRORIF_WrongOutputList_1x2x5x3_bf16_modeB_outbf16_sc16x1x16x1_off-7x-7_bor7x7/test.json @@ -0,0 +1,76 @@ +{ + version: { + _major: 0, + _minor: 51, + _patch: 0, + _draft: true + }, + regions: [ + { + name: "main", + 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, + 2, + 5, + 3 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 1, + 31, + 79, + 3 + ], + type: "BF16" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] + } + ] +} |