diff options
Diffstat (limited to 'operators/data_layout/pad/pad_ERRORIF_WrongInputList_10_i32_pad00')
3 files changed, 92 insertions, 0 deletions
diff --git a/operators/data_layout/pad/pad_ERRORIF_WrongInputList_10_i32_pad00/desc.json b/operators/data_layout/pad/pad_ERRORIF_WrongInputList_10_i32_pad00/desc.json new file mode 100644 index 000000000..bf7c1974a --- /dev/null +++ b/operators/data_layout/pad/pad_ERRORIF_WrongInputList_10_i32_pad00/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": "Op input list does not match expected input", + "profile": [ + "tosa-bi", + "tosa-mi" + ] +}
\ No newline at end of file diff --git a/operators/data_layout/pad/pad_ERRORIF_WrongInputList_10_i32_pad00/input-0.json b/operators/data_layout/pad/pad_ERRORIF_WrongInputList_10_i32_pad00/input-0.json new file mode 100644 index 000000000..e0a28c25c --- /dev/null +++ b/operators/data_layout/pad/pad_ERRORIF_WrongInputList_10_i32_pad00/input-0.json @@ -0,0 +1,15 @@ +{ + "type": "int32", + "data": [ + -305900875, + 1037576683, + -847725146, + -612454062, + 87126029, + -611106117, + 1763667709, + 704157299, + -1764101389, + -1431856097 + ] +}
\ No newline at end of file diff --git a/operators/data_layout/pad/pad_ERRORIF_WrongInputList_10_i32_pad00/test.json b/operators/data_layout/pad/pad_ERRORIF_WrongInputList_10_i32_pad00/test.json new file mode 100644 index 000000000..fe9c0cf3d --- /dev/null +++ b/operators/data_layout/pad/pad_ERRORIF_WrongInputList_10_i32_pad00/test.json @@ -0,0 +1,55 @@ +{ + version: { + _major: 0, + _minor: 41, + _patch: 0, + _draft: true + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "PAD", + attribute_type: "PadAttribute", + attribute: { + padding: [ + 0, + 0 + ], + pad_const_int: -593510319, + pad_const_fp: 0.0 + }, + inputs: [ + + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 10 + ], + type: "INT32" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} |