diff options
Diffstat (limited to 'operators/ew_unary/bitwise_not/bitwise_not_ERRORIF_WrongInputType_10_i48')
3 files changed, 84 insertions, 0 deletions
diff --git a/operators/ew_unary/bitwise_not/bitwise_not_ERRORIF_WrongInputType_10_i48/desc.json b/operators/ew_unary/bitwise_not/bitwise_not_ERRORIF_WrongInputType_10_i48/desc.json new file mode 100644 index 000000000..992afc22b --- /dev/null +++ b/operators/ew_unary/bitwise_not/bitwise_not_ERRORIF_WrongInputType_10_i48/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_10_i48/input-0.json b/operators/ew_unary/bitwise_not/bitwise_not_ERRORIF_WrongInputType_10_i48/input-0.json new file mode 100644 index 000000000..ae8018bd8 --- /dev/null +++ b/operators/ew_unary/bitwise_not/bitwise_not_ERRORIF_WrongInputType_10_i48/input-0.json @@ -0,0 +1,15 @@ +{ + "type": "int64", + "data": [ + 88388880460543, + -93738789612997, + -134344608098924, + -115391268840660, + 62588593030532, + -10730605727137, + -95343518107759, + 294078047887, + -97865442791388, + 55259273002833 + ] +}
\ No newline at end of file diff --git a/operators/ew_unary/bitwise_not/bitwise_not_ERRORIF_WrongInputType_10_i48/test.json b/operators/ew_unary/bitwise_not/bitwise_not_ERRORIF_WrongInputType_10_i48/test.json new file mode 100644 index 000000000..64e9e7970 --- /dev/null +++ b/operators/ew_unary/bitwise_not/bitwise_not_ERRORIF_WrongInputType_10_i48/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: [ + 10 + ], + type: "INT48" + }, + { + name: "result-0", + shape: [ + 10 + ], + type: "INT48" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} |