From ff47fea5f558845c7ff6bd07e89318a108736aa2 Mon Sep 17 00:00:00 2001 From: James Ward Date: Thu, 15 Dec 2022 13:50:37 +0000 Subject: Create MI tests for Image: RESIZE Signed-off-by: James Ward Change-Id: I95efbad04b950f0aa0e4ea3729ec1da94502d6b3 --- .../test.json | 71 ++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 operators/image/resize/resize_ERRORIF_WrongRank_1x10x5x8x4_f32_modeB_outf32_sc16x1x16x1_off-7x-7_bor7x7/test.json (limited to 'operators/image/resize/resize_ERRORIF_WrongRank_1x10x5x8x4_f32_modeB_outf32_sc16x1x16x1_off-7x-7_bor7x7/test.json') diff --git a/operators/image/resize/resize_ERRORIF_WrongRank_1x10x5x8x4_f32_modeB_outf32_sc16x1x16x1_off-7x-7_bor7x7/test.json b/operators/image/resize/resize_ERRORIF_WrongRank_1x10x5x8x4_f32_modeB_outf32_sc16x1x16x1_off-7x-7_bor7x7/test.json new file mode 100644 index 000000000..587d4fbe8 --- /dev/null +++ b/operators/image/resize/resize_ERRORIF_WrongRank_1x10x5x8x4_f32_modeB_outf32_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" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 10, + 5, + 8, + 4 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 1, + 159, + 79, + 1 + ], + type: "FP32" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} -- cgit v1.2.1