diff options
Diffstat (limited to 'operators/reduction/reduce_min/reduce_min_20x2_i16_axis0')
4 files changed, 166 insertions, 0 deletions
diff --git a/operators/reduction/reduce_min/reduce_min_20x2_i16_axis0/Conformance-result-0.json b/operators/reduction/reduce_min/reduce_min_20x2_i16_axis0/Conformance-result-0.json new file mode 100644 index 000000000..efb7838af --- /dev/null +++ b/operators/reduction/reduce_min/reduce_min_20x2_i16_axis0/Conformance-result-0.json @@ -0,0 +1,9 @@ +{ + "type": "int32", + "data": [ + [ + -31352, + -32119 + ] + ] +}
\ No newline at end of file diff --git a/operators/reduction/reduce_min/reduce_min_20x2_i16_axis0/desc.json b/operators/reduction/reduce_min/reduce_min_20x2_i16_axis0/desc.json new file mode 100644 index 000000000..3cd43b509 --- /dev/null +++ b/operators/reduction/reduce_min/reduce_min_20x2_i16_axis0/desc.json @@ -0,0 +1,20 @@ +{ + "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": 0, + "expected_failure": false, + "expected_result_file": [ + "Conformance-result-0.npy" + ] +}
\ No newline at end of file diff --git a/operators/reduction/reduce_min/reduce_min_20x2_i16_axis0/input-0.json b/operators/reduction/reduce_min/reduce_min_20x2_i16_axis0/input-0.json new file mode 100644 index 000000000..4a15649ea --- /dev/null +++ b/operators/reduction/reduce_min/reduce_min_20x2_i16_axis0/input-0.json @@ -0,0 +1,85 @@ +{ + "type": "int32", + "data": [ + [ + 4700, + 2768 + ], + [ + -1738, + 20158 + ], + [ + -15272, + 29738 + ], + [ + -11039, + 2949 + ], + [ + 1354, + 22923 + ], + [ + -4004, + -14120 + ], + [ + -31352, + -8934 + ], + [ + 21383, + -32119 + ], + [ + 25962, + 2806 + ], + [ + -23577, + -12965 + ], + [ + 3541, + -12079 + ], + [ + -25653, + 10878 + ], + [ + 11287, + -24978 + ], + [ + -14338, + -16786 + ], + [ + 10447, + 15092 + ], + [ + 14876, + 28754 + ], + [ + 17606, + -11752 + ], + [ + -25708, + 7513 + ], + [ + 27263, + 31139 + ], + [ + -17681, + -17272 + ] + ] +}
\ No newline at end of file diff --git a/operators/reduction/reduce_min/reduce_min_20x2_i16_axis0/test.json b/operators/reduction/reduce_min/reduce_min_20x2_i16_axis0/test.json new file mode 100644 index 000000000..36c9e90cf --- /dev/null +++ b/operators/reduction/reduce_min/reduce_min_20x2_i16_axis0/test.json @@ -0,0 +1,52 @@ +{ + version: { + _major: 0, + _minor: 30, + _patch: 0, + _draft: false + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 20, + 2 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 1, + 2 + ], + type: "INT16" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} |