diff options
author | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-06-17 13:06:48 +0100 |
---|---|---|
committer | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-06-17 13:06:48 +0100 |
commit | c4092d6680fe919b2631f273cdfb3342fcae4bcc (patch) | |
tree | b38f12ad7af070d014eb13a4056eeddeb664b40b /operators/ew_ternary/select/select_36_i32 | |
parent | 4d31d66df328978cf99dd65266aec0e24e334e8e (diff) | |
download | conformance_tests-c4092d6680fe919b2631f273cdfb3342fcae4bcc.tar.gz |
Updating SELECT tests for v0.30.0 release
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com>
Change-Id: I01b98dc43d4fccfde79e04194846b70604e6cdf5
Diffstat (limited to 'operators/ew_ternary/select/select_36_i32')
6 files changed, 218 insertions, 0 deletions
diff --git a/operators/ew_ternary/select/select_36_i32/Conformance-result-0.json b/operators/ew_ternary/select/select_36_i32/Conformance-result-0.json new file mode 100644 index 000000000..226e4c00c --- /dev/null +++ b/operators/ew_ternary/select/select_36_i32/Conformance-result-0.json @@ -0,0 +1,41 @@ +{ + "type": "int32", + "data": [ + -1807092397, + -1339062690, + -1339062690, + 1729164126, + -1339062690, + -1339062690, + -1339062690, + -1339062690, + -1339062690, + -1339062690, + 1325687812, + 340245457, + 201465201, + -1339062690, + -158029417, + -1339062690, + -1339062690, + -1339062690, + -1339062690, + 942586218, + -1339062690, + -291658174, + -1339062690, + 546787307, + -1339062690, + -1339062690, + -1740773041, + 643586253, + -1339062690, + -1784798051, + -1339062690, + -361604455, + 1232167954, + -1339062690, + -1376723856, + -1339062690 + ] +}
\ No newline at end of file diff --git a/operators/ew_ternary/select/select_36_i32/desc.json b/operators/ew_ternary/select/select_36_i32/desc.json new file mode 100644 index 000000000..8270b964d --- /dev/null +++ b/operators/ew_ternary/select/select_36_i32/desc.json @@ -0,0 +1,24 @@ +{ + "tosa_file": "test.json", + "ifm_name": [ + "input-0", + "input-1", + "input-2" + ], + "ifm_file": [ + "input-0.npy", + "input-1.npy", + "input-2.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/ew_ternary/select/select_36_i32/input-0.json b/operators/ew_ternary/select/select_36_i32/input-0.json new file mode 100644 index 000000000..634b3df75 --- /dev/null +++ b/operators/ew_ternary/select/select_36_i32/input-0.json @@ -0,0 +1,41 @@ +{ + "type": "bool", + "data": [ + true, + false, + false, + true, + false, + false, + false, + false, + false, + false, + true, + true, + true, + false, + true, + false, + false, + false, + false, + true, + false, + true, + false, + true, + false, + false, + true, + true, + false, + true, + false, + true, + true, + false, + true, + false + ] +}
\ No newline at end of file diff --git a/operators/ew_ternary/select/select_36_i32/input-1.json b/operators/ew_ternary/select/select_36_i32/input-1.json new file mode 100644 index 000000000..55c73692d --- /dev/null +++ b/operators/ew_ternary/select/select_36_i32/input-1.json @@ -0,0 +1,41 @@ +{ + "type": "int32", + "data": [ + -1807092397, + -1733487618, + -227531392, + 1729164126, + -1599545251, + -189939389, + 876311027, + -1278339615, + 951835184, + -833409954, + 1325687812, + 340245457, + 201465201, + -1388250327, + -158029417, + 1531646687, + -2063628741, + 1110332926, + -31085291, + 942586218, + 701359625, + -291658174, + -821768116, + 546787307, + -1545224993, + 361198026, + -1740773041, + 643586253, + 552956797, + -1784798051, + 1105902091, + -361604455, + 1232167954, + -1968752133, + -1376723856, + -25809235 + ] +}
\ No newline at end of file diff --git a/operators/ew_ternary/select/select_36_i32/input-2.json b/operators/ew_ternary/select/select_36_i32/input-2.json new file mode 100644 index 000000000..46dd6e942 --- /dev/null +++ b/operators/ew_ternary/select/select_36_i32/input-2.json @@ -0,0 +1,6 @@ +{ + "type": "int32", + "data": [ + -1339062690 + ] +}
\ No newline at end of file diff --git a/operators/ew_ternary/select/select_36_i32/test.json b/operators/ew_ternary/select/select_36_i32/test.json new file mode 100644 index 000000000..3ef202e79 --- /dev/null +++ b/operators/ew_ternary/select/select_36_i32/test.json @@ -0,0 +1,65 @@ +{ + version: { + _major: 0, + _minor: 30, + _patch: 0, + _draft: false + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "SELECT", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1", + "input-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 36 + ], + type: "BOOL" + }, + { + name: "input-1", + shape: [ + 36 + ], + type: "INT32" + }, + { + name: "input-2", + shape: [ + 1 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 36 + ], + type: "INT32" + } + ], + inputs: [ + "input-0", + "input-1", + "input-2" + ], + outputs: [ + "result-0" + ] + } + ] +} |