diff options
Diffstat (limited to 'operators/ew_unary/bitwise_not/bitwise_not_ERRORIF_WrongInputType_7_f16')
3 files changed, 81 insertions, 0 deletions
diff --git a/operators/ew_unary/bitwise_not/bitwise_not_ERRORIF_WrongInputType_7_f16/desc.json b/operators/ew_unary/bitwise_not/bitwise_not_ERRORIF_WrongInputType_7_f16/desc.json new file mode 100644 index 000000000..992afc22b --- /dev/null +++ b/operators/ew_unary/bitwise_not/bitwise_not_ERRORIF_WrongInputType_7_f16/desc.json @@ -0,0 +1,22 @@ +{ + "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": 2, + "expected_failure": true, + "expected_failure_desc": "Input data type not supported for this operator", + "profile": [ + "tosa-bi", + "tosa-mi" + ] +}
\ No newline at end of file diff --git a/operators/ew_unary/bitwise_not/bitwise_not_ERRORIF_WrongInputType_7_f16/input-0.json b/operators/ew_unary/bitwise_not/bitwise_not_ERRORIF_WrongInputType_7_f16/input-0.json new file mode 100644 index 000000000..42a90cfb5 --- /dev/null +++ b/operators/ew_unary/bitwise_not/bitwise_not_ERRORIF_WrongInputType_7_f16/input-0.json @@ -0,0 +1,12 @@ +{ + "type": "float16", + "data": [ + 0.301513671875, + 0.63037109375, + 0.36181640625, + 0.087646484375, + 0.11798095703125, + 0.9619140625, + 0.90869140625 + ] +}
\ No newline at end of file diff --git a/operators/ew_unary/bitwise_not/bitwise_not_ERRORIF_WrongInputType_7_f16/test.json b/operators/ew_unary/bitwise_not/bitwise_not_ERRORIF_WrongInputType_7_f16/test.json new file mode 100644 index 000000000..c1687ed32 --- /dev/null +++ b/operators/ew_unary/bitwise_not/bitwise_not_ERRORIF_WrongInputType_7_f16/test.json @@ -0,0 +1,47 @@ +{ + version: { + _major: 0, + _minor: 41, + _patch: 0, + _draft: true + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "BITWISE_NOT", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 7 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 7 + ], + type: "FP16" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} |