aboutsummaryrefslogtreecommitdiff
path: root/operators/data_layout/concat/concat_ERRORIF_ConcatInputDimMismatch_10x10_i16_axis0
diff options
context:
space:
mode:
authorJeremy Johnson <jeremy.johnson@arm.com>2022-10-13 12:50:15 +0100
committerJeremy Johnson <jeremy.johnson@arm.com>2022-10-13 12:50:15 +0100
commitcf8989f6250721418177c5b78cdedb7b6c56f74d (patch)
tree032b16f5831f3cbf110cb4f056c9550ee7381eb9 /operators/data_layout/concat/concat_ERRORIF_ConcatInputDimMismatch_10x10_i16_axis0
parentd2d22b3e074fa6be55ca3d568540e820e50f44be (diff)
downloadconformance_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_ConcatInputDimMismatch_10x10_i16_axis0')
-rw-r--r--operators/data_layout/concat/concat_ERRORIF_ConcatInputDimMismatch_10x10_i16_axis0/desc.json24
-rw-r--r--operators/data_layout/concat/concat_ERRORIF_ConcatInputDimMismatch_10x10_i16_axis0/input-0.json125
-rw-r--r--operators/data_layout/concat/concat_ERRORIF_ConcatInputDimMismatch_10x10_i16_axis0/input-1.json215
-rw-r--r--operators/data_layout/concat/concat_ERRORIF_ConcatInputDimMismatch_10x10_i16_axis0/test.json62
4 files changed, 426 insertions, 0 deletions
diff --git a/operators/data_layout/concat/concat_ERRORIF_ConcatInputDimMismatch_10x10_i16_axis0/desc.json b/operators/data_layout/concat/concat_ERRORIF_ConcatInputDimMismatch_10x10_i16_axis0/desc.json
new file mode 100644
index 000000000..7a764dea0
--- /dev/null
+++ b/operators/data_layout/concat/concat_ERRORIF_ConcatInputDimMismatch_10x10_i16_axis0/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": "Input dimensions differ on too many axes",
+ "profile": [
+ "tosa-bi",
+ "tosa-mi"
+ ]
+} \ No newline at end of file
diff --git a/operators/data_layout/concat/concat_ERRORIF_ConcatInputDimMismatch_10x10_i16_axis0/input-0.json b/operators/data_layout/concat/concat_ERRORIF_ConcatInputDimMismatch_10x10_i16_axis0/input-0.json
new file mode 100644
index 000000000..c04d6a8c6
--- /dev/null
+++ b/operators/data_layout/concat/concat_ERRORIF_ConcatInputDimMismatch_10x10_i16_axis0/input-0.json
@@ -0,0 +1,125 @@
+{
+ "type": "int32",
+ "data": [
+ [
+ -6821,
+ -2693,
+ 7568,
+ 24846,
+ 21217,
+ 11961,
+ 7830,
+ -15094,
+ 24327,
+ -6236
+ ],
+ [
+ -9342,
+ 25732,
+ -25766,
+ 22457,
+ 16046,
+ -6504,
+ -5092,
+ 22189,
+ 11943,
+ 19256
+ ],
+ [
+ 24793,
+ -4762,
+ -27275,
+ 18841,
+ -19485,
+ -24172,
+ 13559,
+ -12780,
+ -5184,
+ 9912
+ ],
+ [
+ 18225,
+ 7537,
+ 19576,
+ 6469,
+ 10912,
+ -1634,
+ -15304,
+ -31212,
+ -17270,
+ 11453
+ ],
+ [
+ 13872,
+ -15929,
+ -19298,
+ 29030,
+ -14753,
+ 19513,
+ -14535,
+ -79,
+ 32549,
+ 22417
+ ],
+ [
+ 4608,
+ 14787,
+ -6088,
+ 31587,
+ -9239,
+ -7230,
+ -30948,
+ -10976,
+ 26127,
+ 15215
+ ],
+ [
+ 14667,
+ 8688,
+ 23945,
+ 26522,
+ 13184,
+ -9993,
+ -30287,
+ 7096,
+ -21740,
+ 17401
+ ],
+ [
+ -15992,
+ 19784,
+ -10643,
+ -13264,
+ -2901,
+ -23215,
+ -13766,
+ -23619,
+ 23884,
+ -27832
+ ],
+ [
+ -19882,
+ 7338,
+ 21137,
+ 19772,
+ 4652,
+ -20462,
+ -5738,
+ -24054,
+ -10087,
+ -21163
+ ],
+ [
+ -17079,
+ -23093,
+ -12960,
+ 9388,
+ -19826,
+ -15961,
+ 16590,
+ -18339,
+ 15260,
+ 32222
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/data_layout/concat/concat_ERRORIF_ConcatInputDimMismatch_10x10_i16_axis0/input-1.json b/operators/data_layout/concat/concat_ERRORIF_ConcatInputDimMismatch_10x10_i16_axis0/input-1.json
new file mode 100644
index 000000000..d3e118a88
--- /dev/null
+++ b/operators/data_layout/concat/concat_ERRORIF_ConcatInputDimMismatch_10x10_i16_axis0/input-1.json
@@ -0,0 +1,215 @@
+{
+ "type": "int32",
+ "data": [
+ [
+ -1036,
+ 21660,
+ -11800,
+ 18397,
+ 4074,
+ 22316,
+ 30274,
+ 23760,
+ -3216,
+ -28739,
+ 25072,
+ 16868,
+ -21300,
+ -13275,
+ -17531,
+ 12576,
+ 16212,
+ 6028,
+ -2299
+ ],
+ [
+ -31325,
+ -12121,
+ 23554,
+ 25431,
+ -28384,
+ 2016,
+ -23557,
+ -6997,
+ 9077,
+ -23363,
+ -8123,
+ -2233,
+ 30119,
+ -26695,
+ 28055,
+ -3127,
+ -5698,
+ 31111,
+ 20332
+ ],
+ [
+ 29731,
+ 26836,
+ -1135,
+ 12686,
+ 13514,
+ -30352,
+ 25933,
+ 24592,
+ 23448,
+ 12133,
+ 7504,
+ -1561,
+ -6171,
+ -22953,
+ 23651,
+ -6975,
+ -4794,
+ -11956,
+ -17057
+ ],
+ [
+ -18722,
+ -21697,
+ -3108,
+ 26714,
+ -13184,
+ 39,
+ 6139,
+ 32727,
+ 16418,
+ 4542,
+ -13224,
+ -20378,
+ -9383,
+ 22459,
+ -5355,
+ -632,
+ -25865,
+ 25692,
+ 21356
+ ],
+ [
+ 28554,
+ 21489,
+ 114,
+ -17992,
+ 22765,
+ 832,
+ -26495,
+ 19190,
+ 31493,
+ 15158,
+ -16060,
+ 1316,
+ -9654,
+ -3270,
+ -7339,
+ -27760,
+ -2988,
+ -11914,
+ 27531
+ ],
+ [
+ 3353,
+ 15831,
+ -16337,
+ -25597,
+ 30256,
+ -29184,
+ -28058,
+ -16259,
+ 22915,
+ 25938,
+ -15612,
+ -29968,
+ 8539,
+ 6059,
+ -3850,
+ 22017,
+ 28439,
+ 145,
+ -2251
+ ],
+ [
+ 8226,
+ 22297,
+ -15497,
+ 31181,
+ 26930,
+ -7581,
+ -26492,
+ -10033,
+ 6720,
+ -15940,
+ -29750,
+ -21166,
+ -28593,
+ 14010,
+ 16393,
+ 4034,
+ 2842,
+ 1547,
+ 4378
+ ],
+ [
+ 30979,
+ 19846,
+ 29857,
+ -26795,
+ -5504,
+ 10886,
+ 9660,
+ 21823,
+ -54,
+ 15339,
+ -22731,
+ 20507,
+ -16474,
+ -22892,
+ -1635,
+ 28312,
+ 25408,
+ 179,
+ 30361
+ ],
+ [
+ -25548,
+ -8277,
+ -22201,
+ -32636,
+ 30175,
+ -18203,
+ 31533,
+ 13658,
+ 3354,
+ 28178,
+ -21044,
+ -15543,
+ 257,
+ -16327,
+ -7054,
+ -6883,
+ 22083,
+ -11043,
+ 12218
+ ],
+ [
+ 15644,
+ -7849,
+ -27384,
+ 32519,
+ 1559,
+ -13870,
+ 15505,
+ 20091,
+ -24675,
+ 21607,
+ -16252,
+ 22536,
+ -30966,
+ 29717,
+ 30461,
+ -26359,
+ 26721,
+ 18675,
+ 18802
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/data_layout/concat/concat_ERRORIF_ConcatInputDimMismatch_10x10_i16_axis0/test.json b/operators/data_layout/concat/concat_ERRORIF_ConcatInputDimMismatch_10x10_i16_axis0/test.json
new file mode 100644
index 000000000..e9489ac78
--- /dev/null
+++ b/operators/data_layout/concat/concat_ERRORIF_ConcatInputDimMismatch_10x10_i16_axis0/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: 0
+ },
+ inputs: [
+ "input-0",
+ "input-1"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 10,
+ 10
+ ],
+ type: "INT16"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 10,
+ 19
+ ],
+ type: "INT16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 20,
+ 10
+ ],
+ type: "INT16"
+ }
+ ],
+ inputs: [
+ "input-0",
+ "input-1"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}