diff options
Diffstat (limited to 'operators/ew_binary/pow/pow_ERRORIF_WrongInputList_11_f16')
4 files changed, 102 insertions, 0 deletions
diff --git a/operators/ew_binary/pow/pow_ERRORIF_WrongInputList_11_f16/desc.json b/operators/ew_binary/pow/pow_ERRORIF_WrongInputList_11_f16/desc.json new file mode 100644 index 000000000..3e33b7c32 --- /dev/null +++ b/operators/ew_binary/pow/pow_ERRORIF_WrongInputList_11_f16/desc.json @@ -0,0 +1,23 @@ +{ + "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": "Op input list does not match expected input", + "profile": [ + "tosa-mi" + ] +}
\ No newline at end of file diff --git a/operators/ew_binary/pow/pow_ERRORIF_WrongInputList_11_f16/input-0.json b/operators/ew_binary/pow/pow_ERRORIF_WrongInputList_11_f16/input-0.json new file mode 100644 index 000000000..6f8107039 --- /dev/null +++ b/operators/ew_binary/pow/pow_ERRORIF_WrongInputList_11_f16/input-0.json @@ -0,0 +1,16 @@ +{ + "type": "float16", + "data": [ + 0.80712890625, + 0.23193359375, + 0.265380859375, + 0.5703125, + 0.390869140625, + 0.80078125, + 0.337890625, + 0.8115234375, + 0.90234375, + 0.603515625, + 0.56005859375 + ] +}
\ No newline at end of file diff --git a/operators/ew_binary/pow/pow_ERRORIF_WrongInputList_11_f16/input-1.json b/operators/ew_binary/pow/pow_ERRORIF_WrongInputList_11_f16/input-1.json new file mode 100644 index 000000000..222a2b771 --- /dev/null +++ b/operators/ew_binary/pow/pow_ERRORIF_WrongInputList_11_f16/input-1.json @@ -0,0 +1,6 @@ +{ + "type": "float16", + "data": [ + 0.818359375 + ] +}
\ No newline at end of file diff --git a/operators/ew_binary/pow/pow_ERRORIF_WrongInputList_11_f16/test.json b/operators/ew_binary/pow/pow_ERRORIF_WrongInputList_11_f16/test.json new file mode 100644 index 000000000..36e698a8c --- /dev/null +++ b/operators/ew_binary/pow/pow_ERRORIF_WrongInputList_11_f16/test.json @@ -0,0 +1,57 @@ +{ + version: { + _major: 0, + _minor: 51, + _patch: 0, + _draft: true + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "POW", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1", + "eiDummyInput" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11 + ], + type: "FP16" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 11 + ], + type: "FP16" + } + ], + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ] +} |