diff options
Diffstat (limited to 'operators/reduction/reduce_min/reduce_min_ERRORIF_WrongInputList_3_f16_axis0')
3 files changed, 85 insertions, 0 deletions
diff --git a/operators/reduction/reduce_min/reduce_min_ERRORIF_WrongInputList_3_f16_axis0/desc.json b/operators/reduction/reduce_min/reduce_min_ERRORIF_WrongInputList_3_f16_axis0/desc.json new file mode 100644 index 000000000..b4526f1cb --- /dev/null +++ b/operators/reduction/reduce_min/reduce_min_ERRORIF_WrongInputList_3_f16_axis0/desc.json @@ -0,0 +1,21 @@ +{ + "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-mi" + ] +}
\ No newline at end of file diff --git a/operators/reduction/reduce_min/reduce_min_ERRORIF_WrongInputList_3_f16_axis0/input-0.json b/operators/reduction/reduce_min/reduce_min_ERRORIF_WrongInputList_3_f16_axis0/input-0.json new file mode 100644 index 000000000..23238f973 --- /dev/null +++ b/operators/reduction/reduce_min/reduce_min_ERRORIF_WrongInputList_3_f16_axis0/input-0.json @@ -0,0 +1,8 @@ +{ + "type": "float16", + "data": [ + 0.62548828125, + 0.0194854736328125, + 0.371337890625 + ] +}
\ No newline at end of file diff --git a/operators/reduction/reduce_min/reduce_min_ERRORIF_WrongInputList_3_f16_axis0/test.json b/operators/reduction/reduce_min/reduce_min_ERRORIF_WrongInputList_3_f16_axis0/test.json new file mode 100644 index 000000000..6f63cce15 --- /dev/null +++ b/operators/reduction/reduce_min/reduce_min_ERRORIF_WrongInputList_3_f16_axis0/test.json @@ -0,0 +1,56 @@ +{ + version: { + _major: 0, + _minor: 51, + _patch: 0, + _draft: true + }, + regions: [ + { + name: "main", + blocks: [ + { + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0", + "eiDummyInput" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 3 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 1 + ], + type: "FP16" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] + } + ] +} |