diff options
author | Jeremy Johnson <jeremy.johnson@arm.com> | 2023-03-01 12:24:20 +0000 |
---|---|---|
committer | Eric Kunze <eric.kunze@arm.com> | 2023-03-02 16:15:56 +0000 |
commit | fde43724c4e354634566f93fa60d21048c1b7888 (patch) | |
tree | 36f7c9c934a4e02dc83b2e7c3417581b48b866bf /operators/data_layout/transpose/transpose_ERRORIF_IndexUsedTwice_13x14_i16_perm0 | |
parent | 43f13e903970bc660d31c0f791007d13587e1c4d (diff) | |
download | conformance_tests-fde43724c4e354634566f93fa60d21048c1b7888.tar.gz |
Regen DATA LAYOUT tests for test gen improvements
PAD, SLICE, TILE and TRANSPOSE have improved ERROR IF tests.
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com>
Change-Id: Id514aaff48d9710552fa8de27ff2045ff4107764
Diffstat (limited to 'operators/data_layout/transpose/transpose_ERRORIF_IndexUsedTwice_13x14_i16_perm0')
3 files changed, 295 insertions, 0 deletions
diff --git a/operators/data_layout/transpose/transpose_ERRORIF_IndexUsedTwice_13x14_i16_perm0/desc.json b/operators/data_layout/transpose/transpose_ERRORIF_IndexUsedTwice_13x14_i16_perm0/desc.json new file mode 100644 index 000000000..76b3fb028 --- /dev/null +++ b/operators/data_layout/transpose/transpose_ERRORIF_IndexUsedTwice_13x14_i16_perm0/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": "Index used multiple times", + "profile": [ + "tosa-bi", + "tosa-mi" + ] +}
\ No newline at end of file diff --git a/operators/data_layout/transpose/transpose_ERRORIF_IndexUsedTwice_13x14_i16_perm0/input-0.json b/operators/data_layout/transpose/transpose_ERRORIF_IndexUsedTwice_13x14_i16_perm0/input-0.json new file mode 100644 index 000000000..52910e6db --- /dev/null +++ b/operators/data_layout/transpose/transpose_ERRORIF_IndexUsedTwice_13x14_i16_perm0/input-0.json @@ -0,0 +1,213 @@ +{ + "type": "int32", + "data": [ + [ + 13075, + 30206, + -6182, + -1645, + -23084, + 18290, + 9244, + 4775, + -8170, + 28218, + 29435, + -27642, + -28249, + -22623 + ], + [ + -2875, + -24415, + 3624, + -320, + 6510, + -20020, + 7905, + -8732, + 19844, + -4623, + -19887, + -28275, + -1209, + -5981 + ], + [ + -25451, + -25212, + -4209, + 9067, + -8555, + -6974, + 3615, + -15293, + 12604, + -26405, + 5934, + -19282, + -837, + 7685 + ], + [ + 707, + 19355, + -11242, + 18645, + -22372, + -19335, + 6558, + -6539, + -22204, + 9477, + -28751, + 21098, + -3328, + -17332 + ], + [ + -24550, + 30648, + 9393, + -21689, + -5521, + -28941, + 27434, + -11884, + -26520, + -5932, + 20514, + 20793, + -11091, + 20840 + ], + [ + 15181, + -25251, + 15274, + -27840, + 9446, + 18586, + -5338, + 30413, + -21791, + 4067, + 3540, + -16767, + 355, + -3390 + ], + [ + 21427, + 6775, + -26184, + -17837, + 32026, + 16093, + -12217, + -30706, + 23051, + -18128, + 11820, + -30355, + -25644, + 19844 + ], + [ + -27042, + -28526, + -25576, + -21521, + 5839, + 1136, + 6333, + 24467, + 18768, + -9288, + -26854, + 17397, + -31981, + 267 + ], + [ + 6059, + 29921, + 17270, + 15168, + 7058, + 18802, + -3182, + -2320, + 12020, + 7164, + 26297, + 18061, + -1825, + -27365 + ], + [ + 11159, + -4533, + -27391, + -13411, + -1946, + 12420, + 19859, + 23429, + -12346, + 9013, + 9471, + -30066, + 14508, + -2251 + ], + [ + 22796, + 11638, + -10340, + -3891, + -11004, + 24123, + 22150, + 16936, + -20281, + -30599, + -22551, + -14702, + 15824, + -11671 + ], + [ + -26020, + 8861, + 14499, + -2742, + 19356, + -89, + 25517, + 13936, + 3463, + 12278, + 13111, + 18647, + -30176, + 27037 + ], + [ + 21163, + 28290, + 28399, + -30158, + -3096, + 12317, + -31045, + -242, + 22028, + 12492, + -17303, + 18860, + -28044, + 19884 + ] + ] +}
\ No newline at end of file diff --git a/operators/data_layout/transpose/transpose_ERRORIF_IndexUsedTwice_13x14_i16_perm0/test.json b/operators/data_layout/transpose/transpose_ERRORIF_IndexUsedTwice_13x14_i16_perm0/test.json new file mode 100644 index 000000000..5dd25a166 --- /dev/null +++ b/operators/data_layout/transpose/transpose_ERRORIF_IndexUsedTwice_13x14_i16_perm0/test.json @@ -0,0 +1,60 @@ +{ + version: { + _major: 0, + _minor: 51, + _patch: 0, + _draft: true + }, + regions: [ + { + name: "main", + blocks: [ + { + name: "main", + operators: [ + { + op: "TRANSPOSE", + attribute_type: "TransposeAttribute", + attribute: { + perms: [ + 0, + 0 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 13, + 14 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 13, + 14 + ], + type: "INT16" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] + } + ] +} |