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_AxisSmallerZero_16_i16_axis-2 | |
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_AxisSmallerZero_16_i16_axis-2')
6 files changed, 185 insertions, 0 deletions
diff --git a/operators/data_layout/concat/concat_ERRORIF_AxisSmallerZero_16_i16_axis-2/desc.json b/operators/data_layout/concat/concat_ERRORIF_AxisSmallerZero_16_i16_axis-2/desc.json new file mode 100644 index 000000000..61f0e3ae2 --- /dev/null +++ b/operators/data_layout/concat/concat_ERRORIF_AxisSmallerZero_16_i16_axis-2/desc.json @@ -0,0 +1,24 @@ +{ + "tosa_file": "test.json", + "ifm_name": [ + "input-0", + "input-1", + "input-2", + "input-3" + ], + "ifm_file": [ + "input-0.npy", + "input-1.npy", + "input-2.npy", + "input-3.npy" + ], + "ofm_name": [ + "result-0" + ], + "ofm_file": [ + "result-0.npy" + ], + "expected_return_code": 2, + "expected_failure": true, + "expected_failure_desc": "Axis smaller than zero" +}
\ No newline at end of file diff --git a/operators/data_layout/concat/concat_ERRORIF_AxisSmallerZero_16_i16_axis-2/input-0.json b/operators/data_layout/concat/concat_ERRORIF_AxisSmallerZero_16_i16_axis-2/input-0.json new file mode 100644 index 000000000..20562f6ca --- /dev/null +++ b/operators/data_layout/concat/concat_ERRORIF_AxisSmallerZero_16_i16_axis-2/input-0.json @@ -0,0 +1,21 @@ +{ + "type": "int32", + "data": [ + 20014, + -16436, + 6277, + 11542, + -13028, + 6753, + -1996, + -28509, + 27447, + 6673, + 16174, + 18905, + -29416, + -13095, + -10403, + 28637 + ] +}
\ No newline at end of file diff --git a/operators/data_layout/concat/concat_ERRORIF_AxisSmallerZero_16_i16_axis-2/input-1.json b/operators/data_layout/concat/concat_ERRORIF_AxisSmallerZero_16_i16_axis-2/input-1.json new file mode 100644 index 000000000..a9cc28529 --- /dev/null +++ b/operators/data_layout/concat/concat_ERRORIF_AxisSmallerZero_16_i16_axis-2/input-1.json @@ -0,0 +1,21 @@ +{ + "type": "int32", + "data": [ + 21504, + 19126, + 24844, + -14782, + -5854, + -12990, + 22816, + -3670, + -26881, + 5052, + -3465, + 13802, + -1340, + -8091, + 1925, + -21214 + ] +}
\ No newline at end of file diff --git a/operators/data_layout/concat/concat_ERRORIF_AxisSmallerZero_16_i16_axis-2/input-2.json b/operators/data_layout/concat/concat_ERRORIF_AxisSmallerZero_16_i16_axis-2/input-2.json new file mode 100644 index 000000000..4e812d73a --- /dev/null +++ b/operators/data_layout/concat/concat_ERRORIF_AxisSmallerZero_16_i16_axis-2/input-2.json @@ -0,0 +1,21 @@ +{ + "type": "int32", + "data": [ + -27158, + 24293, + -20379, + -1833, + 29927, + -21814, + -32241, + -12943, + -22688, + 10057, + 16840, + 29568, + -338, + -15371, + 4545, + 1523 + ] +}
\ No newline at end of file diff --git a/operators/data_layout/concat/concat_ERRORIF_AxisSmallerZero_16_i16_axis-2/input-3.json b/operators/data_layout/concat/concat_ERRORIF_AxisSmallerZero_16_i16_axis-2/input-3.json new file mode 100644 index 000000000..718d2e25a --- /dev/null +++ b/operators/data_layout/concat/concat_ERRORIF_AxisSmallerZero_16_i16_axis-2/input-3.json @@ -0,0 +1,21 @@ +{ + "type": "int32", + "data": [ + 1563, + -18408, + 24349, + 12690, + -19585, + -31269, + -25175, + 31761, + -24659, + -8922, + 23738, + -22233, + -15788, + -19325, + -175, + -31626 + ] +}
\ No newline at end of file diff --git a/operators/data_layout/concat/concat_ERRORIF_AxisSmallerZero_16_i16_axis-2/test.json b/operators/data_layout/concat/concat_ERRORIF_AxisSmallerZero_16_i16_axis-2/test.json new file mode 100644 index 000000000..89deb6d2c --- /dev/null +++ b/operators/data_layout/concat/concat_ERRORIF_AxisSmallerZero_16_i16_axis-2/test.json @@ -0,0 +1,77 @@ +{ + version: { + _major: 0, + _minor: 30, + _patch: 0, + _draft: false + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "CONCAT", + attribute_type: "AxisAttribute", + attribute: { + axis: -2 + }, + inputs: [ + "input-0", + "input-1", + "input-2", + "input-3" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 16 + ], + type: "INT16" + }, + { + name: "input-1", + shape: [ + 16 + ], + type: "INT16" + }, + { + name: "input-2", + shape: [ + 16 + ], + type: "INT16" + }, + { + name: "input-3", + shape: [ + 16 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 16 + ], + type: "INT16" + } + ], + inputs: [ + "input-0", + "input-1", + "input-2", + "input-3" + ], + outputs: [ + "result-0" + ] + } + ] +} |