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_ERRORIF_WrongInputList_12_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_ERRORIF_WrongInputList_12_i32')
5 files changed, 126 insertions, 0 deletions
diff --git a/operators/ew_ternary/select/select_ERRORIF_WrongInputList_12_i32/desc.json b/operators/ew_ternary/select/select_ERRORIF_WrongInputList_12_i32/desc.json new file mode 100644 index 000000000..28a21412c --- /dev/null +++ b/operators/ew_ternary/select/select_ERRORIF_WrongInputList_12_i32/desc.json @@ -0,0 +1,22 @@ +{ + "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": 2, + "expected_failure": true, + "expected_failure_desc": "Op input list does not match expected input" +}
\ No newline at end of file diff --git a/operators/ew_ternary/select/select_ERRORIF_WrongInputList_12_i32/input-0.json b/operators/ew_ternary/select/select_ERRORIF_WrongInputList_12_i32/input-0.json new file mode 100644 index 000000000..05dd5399c --- /dev/null +++ b/operators/ew_ternary/select/select_ERRORIF_WrongInputList_12_i32/input-0.json @@ -0,0 +1,17 @@ +{ + "type": "bool", + "data": [ + true, + true, + true, + false, + false, + false, + true, + true, + false, + false, + false, + false + ] +}
\ No newline at end of file diff --git a/operators/ew_ternary/select/select_ERRORIF_WrongInputList_12_i32/input-1.json b/operators/ew_ternary/select/select_ERRORIF_WrongInputList_12_i32/input-1.json new file mode 100644 index 000000000..91d78db4e --- /dev/null +++ b/operators/ew_ternary/select/select_ERRORIF_WrongInputList_12_i32/input-1.json @@ -0,0 +1,17 @@ +{ + "type": "int32", + "data": [ + 501579013, + 1507734339, + 107749730, + -232580410, + 2069676726, + -1730833302, + 1519535742, + -1876013883, + 688595351, + -118974775, + 973323073, + 86233512 + ] +}
\ No newline at end of file diff --git a/operators/ew_ternary/select/select_ERRORIF_WrongInputList_12_i32/input-2.json b/operators/ew_ternary/select/select_ERRORIF_WrongInputList_12_i32/input-2.json new file mode 100644 index 000000000..0cb86298b --- /dev/null +++ b/operators/ew_ternary/select/select_ERRORIF_WrongInputList_12_i32/input-2.json @@ -0,0 +1,6 @@ +{ + "type": "int32", + "data": [ + -1534837209 + ] +}
\ No newline at end of file diff --git a/operators/ew_ternary/select/select_ERRORIF_WrongInputList_12_i32/test.json b/operators/ew_ternary/select/select_ERRORIF_WrongInputList_12_i32/test.json new file mode 100644 index 000000000..4ea787b06 --- /dev/null +++ b/operators/ew_ternary/select/select_ERRORIF_WrongInputList_12_i32/test.json @@ -0,0 +1,64 @@ +{ + version: { + _major: 0, + _minor: 30, + _patch: 0, + _draft: false + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "SELECT", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 12 + ], + type: "BOOL" + }, + { + name: "input-1", + shape: [ + 12 + ], + type: "INT32" + }, + { + name: "input-2", + shape: [ + 1 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 12 + ], + type: "INT32" + } + ], + inputs: [ + "input-0", + "input-1", + "input-2" + ], + outputs: [ + "result-0" + ] + } + ] +} |