diff options
author | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-10-13 12:50:25 +0100 |
---|---|---|
committer | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-10-13 12:50:25 +0100 |
commit | 52bfc1a26ec8a1583a274bedf848f3ff3047a2d6 (patch) | |
tree | 51cfeb0a1d0d9dcbd4f5aa25a8af6551a41baf58 /operators/image/resize/resize_ERRORIF_ResizeOutputShapeMismatch_1x2x14x13_i16_modeB_outi48_sc16x1x16x1_off-7x-7_bor7x7 | |
parent | 7746767e3a0a421bdf64ef5cf0c8926bcfa86d1f (diff) | |
download | conformance_tests-52bfc1a26ec8a1583a274bedf848f3ff3047a2d6.tar.gz |
Updating IMAGE tests for FP16 and accumulator types
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com>
Change-Id: Ic72d5ee6733ee0b36bc8c851dc762838534eff5d
Diffstat (limited to 'operators/image/resize/resize_ERRORIF_ResizeOutputShapeMismatch_1x2x14x13_i16_modeB_outi48_sc16x1x16x1_off-7x-7_bor7x7')
3 files changed, 523 insertions, 0 deletions
diff --git a/operators/image/resize/resize_ERRORIF_ResizeOutputShapeMismatch_1x2x14x13_i16_modeB_outi48_sc16x1x16x1_off-7x-7_bor7x7/desc.json b/operators/image/resize/resize_ERRORIF_ResizeOutputShapeMismatch_1x2x14x13_i16_modeB_outi48_sc16x1x16x1_off-7x-7_bor7x7/desc.json new file mode 100644 index 000000000..7780bdd73 --- /dev/null +++ b/operators/image/resize/resize_ERRORIF_ResizeOutputShapeMismatch_1x2x14x13_i16_modeB_outi48_sc16x1x16x1_off-7x-7_bor7x7/desc.json @@ -0,0 +1,22 @@ +{ + "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": "Mismatch between output shape provided and expected output shape", + "profile": [ + "tosa-bi", + "tosa-mi" + ] +}
\ No newline at end of file diff --git a/operators/image/resize/resize_ERRORIF_ResizeOutputShapeMismatch_1x2x14x13_i16_modeB_outi48_sc16x1x16x1_off-7x-7_bor7x7/input-0.json b/operators/image/resize/resize_ERRORIF_ResizeOutputShapeMismatch_1x2x14x13_i16_modeB_outi48_sc16x1x16x1_off-7x-7_bor7x7/input-0.json new file mode 100644 index 000000000..bd9e74b3f --- /dev/null +++ b/operators/image/resize/resize_ERRORIF_ResizeOutputShapeMismatch_1x2x14x13_i16_modeB_outi48_sc16x1x16x1_off-7x-7_bor7x7/input-0.json @@ -0,0 +1,431 @@ +{ + "type": "int32", + "data": [ + [ + [ + [ + -564, + -13946, + 32553, + -25609, + -13643, + 31051, + -10957, + -30692, + 11997, + -5319, + 21813, + -4497, + -29110 + ], + [ + -9455, + -20158, + -6576, + -16698, + -8708, + 22218, + 8625, + -6536, + 7729, + 772, + 23368, + 5366, + 10576 + ], + [ + -9408, + 7601, + 22670, + 7891, + 11882, + -2244, + 30548, + 5757, + -24376, + 17937, + 32075, + 20800, + 18351 + ], + [ + 23252, + 28421, + -18536, + 25272, + 1522, + -22479, + -32325, + 5731, + 31410, + 22182, + -27072, + 9079, + 23056 + ], + [ + 1860, + 30596, + -12245, + -21261, + 21250, + 21428, + 20432, + 14607, + -26236, + 357, + -13791, + 14005, + 23908 + ], + [ + 24567, + -27646, + -5323, + 27291, + -3049, + -14104, + -12424, + 21233, + -24047, + -139, + -27838, + -6295, + 26425 + ], + [ + -1919, + 4379, + -32609, + 18156, + 12787, + 6001, + -4791, + -9243, + 12218, + -16675, + 21908, + -18942, + -7867 + ], + [ + 20813, + -24974, + -4065, + -32084, + -1435, + -27519, + -2307, + 23097, + 3655, + 26950, + 19887, + 15694, + -27164 + ], + [ + 13784, + -6653, + 18865, + -24985, + -26816, + -11281, + 12716, + 23097, + 14628, + 2171, + 29830, + 32146, + 19561 + ], + [ + -1858, + -13684, + -508, + -15077, + -2883, + 10565, + -7874, + -18066, + -6361, + 18473, + -26253, + -12847, + -32324 + ], + [ + -20797, + -29570, + -27699, + 20632, + -19588, + -7533, + -16775, + 28905, + 8368, + -10025, + 6517, + -1435, + 4626 + ], + [ + -30311, + 18742, + -25638, + -23673, + 27035, + -4550, + 1033, + 13902, + 5560, + 12933, + 11838, + -4470, + -29047 + ], + [ + -12949, + 1834, + -6662, + -26197, + -29065, + 26810, + 2634, + 20879, + 2134, + -24075, + -20654, + -26813, + 25061 + ], + [ + -572, + 11756, + 9101, + -16534, + 13881, + -29676, + 2389, + 1546, + 3532, + 29490, + -14496, + 15340, + 8528 + ] + ], + [ + [ + 10352, + -11670, + -7537, + -1556, + -10107, + -30468, + -9229, + -10685, + 27308, + -27078, + -21246, + 22340, + 4362 + ], + [ + -12872, + 1365, + -4014, + -29755, + -11460, + -4634, + 15530, + -3581, + 2730, + 4251, + 26042, + -636, + -313 + ], + [ + 6822, + -31778, + 4048, + -6163, + -3957, + -27615, + 26651, + 12348, + -1896, + -13248, + 6337, + 22193, + 23046 + ], + [ + -32031, + 22398, + 16308, + 22404, + -21586, + 19646, + 7836, + 6152, + -9938, + -14397, + 2655, + -12329, + -12848 + ], + [ + 4551, + -29303, + 12314, + 10265, + 25420, + 24573, + -19259, + 30949, + -8378, + 27008, + 13592, + -22986, + 82 + ], + [ + 17634, + -12262, + -31647, + -14227, + 4284, + 4301, + 25922, + 24378, + -17132, + 29877, + -21650, + -19680, + 4496 + ], + [ + -27643, + 19099, + -10629, + 19355, + 9698, + 4757, + -28346, + -10659, + 11834, + -18514, + 13271, + -3791, + -22612 + ], + [ + 18748, + 8391, + 19801, + 1866, + 1851, + 19111, + -13686, + 10955, + 15749, + -18711, + 13148, + -8222, + -29420 + ], + [ + -3478, + -25522, + 18944, + -17771, + -24427, + 4459, + -19627, + -1397, + -21546, + -4234, + -28936, + 25116, + -24427 + ], + [ + -6434, + -18378, + -7299, + 16831, + -8024, + -6807, + -26326, + 19144, + -31693, + -184, + 26268, + -8756, + -20032 + ], + [ + 3692, + 6399, + 7394, + -3747, + 20178, + -6650, + 15869, + -1819, + -26783, + 15914, + 7476, + -28905, + 21898 + ], + [ + 18850, + -25527, + -30390, + 28863, + -4242, + 2595, + -24981, + 14337, + 18063, + 16876, + -5755, + 8965, + -15961 + ], + [ + -10703, + -9474, + -5263, + 9380, + 32078, + -11231, + -20319, + 3998, + 25139, + 10478, + -1001, + 13504, + 13533 + ], + [ + -28026, + -638, + -4250, + -21140, + -12111, + 7198, + 25852, + 13472, + 23757, + -30003, + 24802, + 23037, + -27555 + ] + ] + ] + ] +}
\ No newline at end of file diff --git a/operators/image/resize/resize_ERRORIF_ResizeOutputShapeMismatch_1x2x14x13_i16_modeB_outi48_sc16x1x16x1_off-7x-7_bor7x7/test.json b/operators/image/resize/resize_ERRORIF_ResizeOutputShapeMismatch_1x2x14x13_i16_modeB_outi48_sc16x1x16x1_off-7x-7_bor7x7/test.json new file mode 100644 index 000000000..f6f30eb13 --- /dev/null +++ b/operators/image/resize/resize_ERRORIF_ResizeOutputShapeMismatch_1x2x14x13_i16_modeB_outi48_sc16x1x16x1_off-7x-7_bor7x7/test.json @@ -0,0 +1,70 @@ +{ + version: { + _major: 0, + _minor: 41, + _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, + 2, + 14, + 13 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 1, + 31, + 224, + 13 + ], + type: "INT48" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} |