diff options
author | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-06-17 13:06:29 +0100 |
---|---|---|
committer | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-06-17 13:06:29 +0100 |
commit | eb8bca812efc17b975864d87a734c0dd520df618 (patch) | |
tree | 3091f06effa72e7a9222234950ba60c0d97f33af /operators/data_nodes/const/const_42_i32 | |
parent | bc6c4467ba7574cf5ff8f775751fc7d20c10c879 (diff) | |
download | conformance_tests-eb8bca812efc17b975864d87a734c0dd520df618.tar.gz |
Updating CONST tests for v0.30.0 release
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com>
Change-Id: I528c7427b388429f73b3915ab1d529c3f2ea690d
Diffstat (limited to 'operators/data_nodes/const/const_42_i32')
3 files changed, 273 insertions, 0 deletions
diff --git a/operators/data_nodes/const/const_42_i32/Conformance-const-0.json b/operators/data_nodes/const/const_42_i32/Conformance-const-0.json new file mode 100644 index 000000000..2592f017f --- /dev/null +++ b/operators/data_nodes/const/const_42_i32/Conformance-const-0.json @@ -0,0 +1,47 @@ +{ + "type": "int32", + "data": [ + 729345553, + 1891100282, + -269930454, + -1457333247, + 1428841972, + 557333431, + 860132063, + -1729898433, + -805879139, + 1150380853, + 1427044980, + -278242294, + 1308952948, + 1467555402, + -483276683, + 1709773334, + -909123872, + -1118590799, + 783812221, + 587387569, + -1547251302, + 1429093445, + -1288884457, + 1309531719, + -2115862941, + 1274929201, + 1232330817, + 1204155579, + 708029037, + -122118185, + 881178591, + -957255331, + 1205722007, + 239001877, + -176455401, + 24078665, + 295241188, + -1987443237, + -1547060113, + -1093150066, + -1655580728, + -259357722 + ] +}
\ No newline at end of file diff --git a/operators/data_nodes/const/const_42_i32/desc.json b/operators/data_nodes/const/const_42_i32/desc.json new file mode 100644 index 000000000..58ee2e73c --- /dev/null +++ b/operators/data_nodes/const/const_42_i32/desc.json @@ -0,0 +1,16 @@ +{ + "tosa_file": "test.json", + "ifm_name": [], + "ifm_file": [], + "ofm_name": [ + "const-0" + ], + "ofm_file": [ + "const-0.npy" + ], + "expected_return_code": 0, + "expected_failure": false, + "expected_result_file": [ + "Conformance-const-0.npy" + ] +}
\ No newline at end of file diff --git a/operators/data_nodes/const/const_42_i32/test.json b/operators/data_nodes/const/const_42_i32/test.json new file mode 100644 index 000000000..29ec2ca6a --- /dev/null +++ b/operators/data_nodes/const/const_42_i32/test.json @@ -0,0 +1,210 @@ +{ + version: { + _major: 0, + _minor: 30, + _patch: 0, + _draft: false + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + + ], + outputs: [ + "const-0" + ] + } + ], + tensors: [ + { + name: "const-0", + shape: [ + 42 + ], + type: "INT32", + data: [ + 17, + 238, + 120, + 43, + 122, + 230, + 183, + 112, + 42, + 48, + 233, + 239, + 1, + 220, + 34, + 169, + 244, + 101, + 42, + 85, + 183, + 59, + 56, + 33, + 223, + 146, + 68, + 51, + 63, + 216, + 227, + 152, + 157, + 66, + 247, + 207, + 53, + 107, + 145, + 68, + 116, + 250, + 14, + 85, + 10, + 92, + 106, + 239, + 116, + 9, + 5, + 78, + 74, + 30, + 121, + 87, + 117, + 200, + 49, + 227, + 22, + 18, + 233, + 101, + 224, + 222, + 207, + 201, + 177, + 168, + 83, + 189, + 125, + 6, + 184, + 46, + 177, + 210, + 2, + 35, + 154, + 209, + 198, + 163, + 69, + 60, + 46, + 85, + 23, + 47, + 45, + 179, + 71, + 222, + 13, + 78, + 99, + 126, + 226, + 129, + 49, + 224, + 253, + 75, + 65, + 224, + 115, + 73, + 187, + 244, + 197, + 71, + 109, + 170, + 51, + 42, + 215, + 159, + 184, + 248, + 223, + 183, + 133, + 52, + 93, + 113, + 241, + 198, + 151, + 219, + 221, + 71, + 21, + 225, + 62, + 14, + 23, + 129, + 123, + 245, + 73, + 105, + 111, + 1, + 228, + 5, + 153, + 17, + 219, + 5, + 138, + 137, + 111, + 188, + 201, + 163, + 142, + 218, + 215, + 190, + 200, + 215, + 81, + 157, + 230, + 131, + 138, + 240 + ] + } + ], + inputs: [ + + ], + outputs: [ + "const-0" + ] + } + ] +} |