diff options
author | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-06-17 13:06:12 +0100 |
---|---|---|
committer | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-06-17 13:06:12 +0100 |
commit | d73c0846bc7be1685aff6a4e70e4ab4c03ab75c3 (patch) | |
tree | 0a9b3cf7c843680caf049565ac8cf30188242db0 /operators/data_layout/concat/concat_ERRORIF_ConcatInputRankMismatch_11x25_i8_axis0 | |
parent | 3dd7bf887d5d04d98bc19b845f43cd3000b1d407 (diff) | |
download | conformance_tests-d73c0846bc7be1685aff6a4e70e4ab4c03ab75c3.tar.gz |
Updating CONCAT tests for v0.30.0 release
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com>
Change-Id: Ia22d8ed60a228547c77bcfa0076074a39e4778b3
Diffstat (limited to 'operators/data_layout/concat/concat_ERRORIF_ConcatInputRankMismatch_11x25_i8_axis0')
4 files changed, 413 insertions, 0 deletions
diff --git a/operators/data_layout/concat/concat_ERRORIF_ConcatInputRankMismatch_11x25_i8_axis0/desc.json b/operators/data_layout/concat/concat_ERRORIF_ConcatInputRankMismatch_11x25_i8_axis0/desc.json new file mode 100644 index 000000000..cf3f38c1b --- /dev/null +++ b/operators/data_layout/concat/concat_ERRORIF_ConcatInputRankMismatch_11x25_i8_axis0/desc.json @@ -0,0 +1,20 @@ +{ + "tosa_file": "test.json", + "ifm_name": [ + "input-0", + "input-1" + ], + "ifm_file": [ + "input-0.npy", + "input-1.npy" + ], + "ofm_name": [ + "result-0" + ], + "ofm_file": [ + "result-0.npy" + ], + "expected_return_code": 2, + "expected_failure": true, + "expected_failure_desc": "Input ranks are not identical" +}
\ No newline at end of file diff --git a/operators/data_layout/concat/concat_ERRORIF_ConcatInputRankMismatch_11x25_i8_axis0/input-0.json b/operators/data_layout/concat/concat_ERRORIF_ConcatInputRankMismatch_11x25_i8_axis0/input-0.json new file mode 100644 index 000000000..db59eda85 --- /dev/null +++ b/operators/data_layout/concat/concat_ERRORIF_ConcatInputRankMismatch_11x25_i8_axis0/input-0.json @@ -0,0 +1,302 @@ +{ + "type": "int32", + "data": [ + [ + 10, + -101, + -29, + -53, + 60, + 53, + 87, + 5, + 61, + 66, + 80, + -7, + -125, + 62, + 25, + -29, + 37, + 91, + -98, + 104, + -12, + 66, + -46, + -122, + -65 + ], + [ + -10, + 115, + 97, + 56, + -72, + 113, + -1, + -47, + 117, + -16, + -122, + 86, + -108, + 25, + -25, + -65, + 19, + -78, + -124, + 113, + -34, + 7, + 13, + -115, + 116 + ], + [ + 90, + -54, + -116, + -83, + 57, + -14, + 7, + -67, + 113, + -6, + -78, + 122, + 34, + -58, + -16, + 66, + 56, + -2, + -22, + -122, + -83, + 53, + -5, + -119, + 13 + ], + [ + -29, + 6, + 106, + 119, + 78, + -31, + -46, + -72, + -86, + -70, + -104, + -108, + 121, + -4, + -70, + -108, + -15, + 12, + -122, + -67, + 88, + 44, + -74, + -76, + -38 + ], + [ + 78, + -40, + -9, + -96, + 80, + 126, + 16, + 127, + -37, + -1, + 67, + 30, + -103, + -31, + -78, + -68, + -9, + -20, + 61, + 125, + 58, + -24, + -104, + -52, + -69 + ], + [ + 14, + 85, + 119, + 66, + -74, + -91, + 91, + 98, + 79, + 11, + -26, + -106, + -3, + 41, + 4, + 32, + -48, + -17, + -94, + -3, + 103, + -101, + -46, + 27, + -90 + ], + [ + -36, + 89, + 92, + 106, + 107, + -12, + 7, + -112, + -57, + -80, + 125, + -99, + -110, + 1, + -61, + 96, + -6, + -104, + -80, + -86, + -110, + 3, + 80, + 111, + -1 + ], + [ + 67, + -112, + -6, + -70, + -8, + -40, + -76, + -50, + 26, + 108, + -80, + -40, + 93, + -61, + 98, + 119, + -64, + 14, + 15, + -82, + -27, + -74, + -49, + -54, + 76 + ], + [ + 43, + 53, + 62, + 110, + -102, + -78, + 25, + -23, + 56, + 70, + 125, + 3, + -23, + 6, + -49, + -104, + 111, + 118, + -44, + 39, + 124, + 17, + 4, + -53, + -88 + ], + [ + 14, + -75, + 83, + 118, + 11, + 32, + -126, + 114, + -49, + 61, + -94, + -20, + 62, + -13, + -120, + 60, + 19, + -123, + -4, + -37, + -95, + -50, + -83, + 96, + 26 + ], + [ + -97, + 29, + 101, + 17, + 116, + 82, + 46, + 111, + -24, + -83, + 73, + 39, + -39, + 90, + -117, + -7, + 58, + 84, + -122, + -33, + 26, + 103, + 76, + -47, + 4 + ] + ] +}
\ No newline at end of file diff --git a/operators/data_layout/concat/concat_ERRORIF_ConcatInputRankMismatch_11x25_i8_axis0/input-1.json b/operators/data_layout/concat/concat_ERRORIF_ConcatInputRankMismatch_11x25_i8_axis0/input-1.json new file mode 100644 index 000000000..626d3b232 --- /dev/null +++ b/operators/data_layout/concat/concat_ERRORIF_ConcatInputRankMismatch_11x25_i8_axis0/input-1.json @@ -0,0 +1,30 @@ +{ + "type": "int32", + "data": [ + -70, + 16, + -76, + -33, + 46, + -27, + 5, + -80, + -67, + -95, + 126, + 117, + -32, + 91, + 92, + -82, + -98, + 61, + -14, + -16, + 38, + -65, + 21, + -41, + -97 + ] +}
\ No newline at end of file diff --git a/operators/data_layout/concat/concat_ERRORIF_ConcatInputRankMismatch_11x25_i8_axis0/test.json b/operators/data_layout/concat/concat_ERRORIF_ConcatInputRankMismatch_11x25_i8_axis0/test.json new file mode 100644 index 000000000..f78265d58 --- /dev/null +++ b/operators/data_layout/concat/concat_ERRORIF_ConcatInputRankMismatch_11x25_i8_axis0/test.json @@ -0,0 +1,61 @@ +{ + version: { + _major: 0, + _minor: 30, + _patch: 0, + _draft: false + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "CONCAT", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11, + 25 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 25 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 11, + 25 + ], + type: "INT8" + } + ], + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ] +} |