diff options
author | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-06-17 13:06:24 +0100 |
---|---|---|
committer | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-06-17 13:06:24 +0100 |
commit | d5e8f519efe996800ca8ed8235735bd9cc124050 (patch) | |
tree | 1fb8a024b2f64d934a18e7d0f603cc7a819ee43c /operators/data_layout/slice/slice_41_i32_perm1 | |
parent | 3556a8fcdd6c62795fdc9828c9cae59e4e62b96c (diff) | |
download | conformance_tests-d5e8f519efe996800ca8ed8235735bd9cc124050.tar.gz |
Updating SLICE tests for v0.30.0 release
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com>
Change-Id: I750905470261d35fee2e6db822ea7ad41b515a5e
Diffstat (limited to 'operators/data_layout/slice/slice_41_i32_perm1')
4 files changed, 134 insertions, 0 deletions
diff --git a/operators/data_layout/slice/slice_41_i32_perm1/Conformance-result-0.json b/operators/data_layout/slice/slice_41_i32_perm1/Conformance-result-0.json new file mode 100644 index 000000000..04d97c85c --- /dev/null +++ b/operators/data_layout/slice/slice_41_i32_perm1/Conformance-result-0.json @@ -0,0 +1,13 @@ +{ + "type": "int32", + "data": [ + 1701497559, + 183940957, + -1545118398, + -849633312, + 232083469, + -791596107, + -1681154391, + 712916827 + ] +}
\ No newline at end of file diff --git a/operators/data_layout/slice/slice_41_i32_perm1/desc.json b/operators/data_layout/slice/slice_41_i32_perm1/desc.json new file mode 100644 index 000000000..3cd43b509 --- /dev/null +++ b/operators/data_layout/slice/slice_41_i32_perm1/desc.json @@ -0,0 +1,20 @@ +{ + "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": 0, + "expected_failure": false, + "expected_result_file": [ + "Conformance-result-0.npy" + ] +}
\ No newline at end of file diff --git a/operators/data_layout/slice/slice_41_i32_perm1/input-0.json b/operators/data_layout/slice/slice_41_i32_perm1/input-0.json new file mode 100644 index 000000000..ede6e3e20 --- /dev/null +++ b/operators/data_layout/slice/slice_41_i32_perm1/input-0.json @@ -0,0 +1,46 @@ +{ + "type": "int32", + "data": [ + 1969496824, + -351521972, + -76006160, + -141271986, + 1214338554, + -1868497320, + -1792161004, + -962728748, + -57302033, + 734972155, + -39913156, + -252681184, + 1880450305, + -1455912549, + 308069639, + 181439472, + -113862156, + 1321120954, + -1000831907, + 1948939605, + -723405649, + 193292775, + 88787292, + 1502284622, + -262373281, + -925312225, + -2054660472, + -585497442, + 1401413143, + -2104893909, + 1701497559, + 183940957, + -1545118398, + -849633312, + 232083469, + -791596107, + -1681154391, + 712916827, + 739765566, + -1636922623, + -939593744 + ] +}
\ No newline at end of file diff --git a/operators/data_layout/slice/slice_41_i32_perm1/test.json b/operators/data_layout/slice/slice_41_i32_perm1/test.json new file mode 100644 index 000000000..8808a73ac --- /dev/null +++ b/operators/data_layout/slice/slice_41_i32_perm1/test.json @@ -0,0 +1,55 @@ +{ + version: { + _major: 0, + _minor: 30, + _patch: 0, + _draft: false + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "SLICE", + attribute_type: "SliceAttribute", + attribute: { + start: [ + 30 + ], + size: [ + 8 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 41 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 8 + ], + type: "INT32" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} |