diff options
Diffstat (limited to 'operators/ew_binary/logical_xor/logical_xor_ERRORIF_WrongOutputType_12_b')
4 files changed, 103 insertions, 0 deletions
diff --git a/operators/ew_binary/logical_xor/logical_xor_ERRORIF_WrongOutputType_12_b/desc.json b/operators/ew_binary/logical_xor/logical_xor_ERRORIF_WrongOutputType_12_b/desc.json new file mode 100644 index 000000000..e7d7ed273 --- /dev/null +++ b/operators/ew_binary/logical_xor/logical_xor_ERRORIF_WrongOutputType_12_b/desc.json @@ -0,0 +1,24 @@ +{ + "tosa_file": "test.json", + "ifm_name": [ + "input-0", + "input-1" + ], + "ifm_file": [ + "input-0.npy", + "input-1.npy" + ], + "ofm_name": [ + "result-0" + ], + "ofm_file": [ + "result-0.npy" + ], + "expected_return_code": 2, + "expected_failure": true, + "expected_failure_desc": "Output data type not supported for this configuration of operator", + "profile": [ + "tosa-bi", + "tosa-mi" + ] +}
\ No newline at end of file diff --git a/operators/ew_binary/logical_xor/logical_xor_ERRORIF_WrongOutputType_12_b/input-0.json b/operators/ew_binary/logical_xor/logical_xor_ERRORIF_WrongOutputType_12_b/input-0.json new file mode 100644 index 000000000..2db5d013a --- /dev/null +++ b/operators/ew_binary/logical_xor/logical_xor_ERRORIF_WrongOutputType_12_b/input-0.json @@ -0,0 +1,17 @@ +{ + "type": "bool", + "data": [ + true, + false, + false, + true, + true, + true, + false, + true, + true, + false, + false, + false + ] +}
\ No newline at end of file diff --git a/operators/ew_binary/logical_xor/logical_xor_ERRORIF_WrongOutputType_12_b/input-1.json b/operators/ew_binary/logical_xor/logical_xor_ERRORIF_WrongOutputType_12_b/input-1.json new file mode 100644 index 000000000..fa86ea1ad --- /dev/null +++ b/operators/ew_binary/logical_xor/logical_xor_ERRORIF_WrongOutputType_12_b/input-1.json @@ -0,0 +1,6 @@ +{ + "type": "bool", + "data": [ + true + ] +}
\ No newline at end of file diff --git a/operators/ew_binary/logical_xor/logical_xor_ERRORIF_WrongOutputType_12_b/test.json b/operators/ew_binary/logical_xor/logical_xor_ERRORIF_WrongOutputType_12_b/test.json new file mode 100644 index 000000000..fade9de31 --- /dev/null +++ b/operators/ew_binary/logical_xor/logical_xor_ERRORIF_WrongOutputType_12_b/test.json @@ -0,0 +1,56 @@ +{ + version: { + _major: 0, + _minor: 41, + _patch: 0, + _draft: true + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "LOGICAL_XOR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 12 + ], + type: "BOOL" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 12 + ], + type: "FP32" + } + ], + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ] +} |