diff options
author | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-10-13 12:50:15 +0100 |
---|---|---|
committer | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-10-13 12:50:15 +0100 |
commit | cf8989f6250721418177c5b78cdedb7b6c56f74d (patch) | |
tree | 032b16f5831f3cbf110cb4f056c9550ee7381eb9 /operators/data_layout/concat/concat_ERRORIF_AxisSmallerZero_10x11_i8_axis-4 | |
parent | d2d22b3e074fa6be55ca3d568540e820e50f44be (diff) | |
download | conformance_tests-cf8989f6250721418177c5b78cdedb7b6c56f74d.tar.gz |
Updating DATA_LAYOUT tests for FP16 and accumulator types
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com>
Change-Id: I605e4528c4b31c393e4a8ee88de332ecbc2f1421
Diffstat (limited to 'operators/data_layout/concat/concat_ERRORIF_AxisSmallerZero_10x11_i8_axis-4')
4 files changed, 356 insertions, 0 deletions
diff --git a/operators/data_layout/concat/concat_ERRORIF_AxisSmallerZero_10x11_i8_axis-4/desc.json b/operators/data_layout/concat/concat_ERRORIF_AxisSmallerZero_10x11_i8_axis-4/desc.json new file mode 100644 index 000000000..a0a33bd27 --- /dev/null +++ b/operators/data_layout/concat/concat_ERRORIF_AxisSmallerZero_10x11_i8_axis-4/desc.json @@ -0,0 +1,24 @@ +{ + "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": "Axis smaller than zero", + "profile": [ + "tosa-bi", + "tosa-mi" + ] +}
\ No newline at end of file diff --git a/operators/data_layout/concat/concat_ERRORIF_AxisSmallerZero_10x11_i8_axis-4/input-0.json b/operators/data_layout/concat/concat_ERRORIF_AxisSmallerZero_10x11_i8_axis-4/input-0.json new file mode 100644 index 000000000..cf7464148 --- /dev/null +++ b/operators/data_layout/concat/concat_ERRORIF_AxisSmallerZero_10x11_i8_axis-4/input-0.json @@ -0,0 +1,135 @@ +{ + "type": "int32", + "data": [ + [ + 104, + -60, + -36, + -123, + 65, + 53, + 85, + 15, + 104, + -92, + -33 + ], + [ + -14, + 67, + -72, + -45, + -104, + 113, + -12, + -126, + -68, + 17, + -3 + ], + [ + 2, + -113, + 96, + 84, + -73, + -35, + -106, + -96, + 88, + -99, + -39 + ], + [ + 126, + -45, + 47, + -102, + 95, + 107, + 105, + 34, + 120, + 49, + -32 + ], + [ + 101, + -59, + 88, + 110, + -13, + -69, + -88, + 9, + 44, + 23, + 38 + ], + [ + -122, + -116, + -61, + 102, + 1, + -43, + 42, + -19, + -92, + 3, + 50 + ], + [ + 105, + -34, + -85, + 93, + -34, + -88, + 0, + -113, + 125, + 71, + -16 + ], + [ + 11, + -26, + -8, + 111, + 57, + 41, + 122, + -87, + 104, + -83, + -62 + ], + [ + 36, + -94, + -9, + -42, + -126, + -81, + -14, + -107, + 112, + -19, + 63 + ], + [ + -76, + 15, + -99, + -79, + 47, + -43, + 123, + 127, + -95, + 40, + 72 + ] + ] +}
\ No newline at end of file diff --git a/operators/data_layout/concat/concat_ERRORIF_AxisSmallerZero_10x11_i8_axis-4/input-1.json b/operators/data_layout/concat/concat_ERRORIF_AxisSmallerZero_10x11_i8_axis-4/input-1.json new file mode 100644 index 000000000..ea333ca41 --- /dev/null +++ b/operators/data_layout/concat/concat_ERRORIF_AxisSmallerZero_10x11_i8_axis-4/input-1.json @@ -0,0 +1,135 @@ +{ + "type": "int32", + "data": [ + [ + -58, + 87, + 60, + -45, + -105, + -15, + -34, + 7, + -70, + -49, + 101 + ], + [ + 87, + 60, + -38, + -1, + -54, + -24, + 4, + 91, + 75, + -78, + 114 + ], + [ + -109, + -116, + 90, + -56, + 91, + -111, + -66, + 83, + -79, + 4, + 56 + ], + [ + -39, + -92, + 85, + 31, + 105, + 51, + 62, + 31, + 43, + -19, + 109 + ], + [ + 80, + -66, + 110, + -69, + 52, + 107, + -21, + -81, + 126, + 75, + -13 + ], + [ + 125, + -99, + 6, + -82, + -81, + -39, + 18, + -85, + 5, + 71, + -91 + ], + [ + -125, + 63, + -25, + -80, + 96, + -19, + -98, + -49, + 19, + -54, + 111 + ], + [ + 32, + -110, + -40, + -39, + -91, + -119, + -100, + 46, + -65, + -22, + -92 + ], + [ + 114, + 124, + 48, + -44, + 26, + -30, + 105, + 26, + -95, + -104, + 72 + ], + [ + 58, + 58, + -43, + 44, + -59, + 35, + -44, + -97, + 85, + 80, + 72 + ] + ] +}
\ No newline at end of file diff --git a/operators/data_layout/concat/concat_ERRORIF_AxisSmallerZero_10x11_i8_axis-4/test.json b/operators/data_layout/concat/concat_ERRORIF_AxisSmallerZero_10x11_i8_axis-4/test.json new file mode 100644 index 000000000..96bfd5231 --- /dev/null +++ b/operators/data_layout/concat/concat_ERRORIF_AxisSmallerZero_10x11_i8_axis-4/test.json @@ -0,0 +1,62 @@ +{ + version: { + _major: 0, + _minor: 41, + _patch: 0, + _draft: true + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "CONCAT", + attribute_type: "AxisAttribute", + attribute: { + axis: -4 + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10, + 11 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 10, + 11 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 10, + 11 + ], + type: "INT8" + } + ], + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ] +} |