diff options
Diffstat (limited to 'operators/reduction/reduce_max/reduce_max_24_i16_axis0')
4 files changed, 105 insertions, 0 deletions
diff --git a/operators/reduction/reduce_max/reduce_max_24_i16_axis0/Conformance-result-0.json b/operators/reduction/reduce_max/reduce_max_24_i16_axis0/Conformance-result-0.json new file mode 100644 index 000000000..9884d3584 --- /dev/null +++ b/operators/reduction/reduce_max/reduce_max_24_i16_axis0/Conformance-result-0.json @@ -0,0 +1,6 @@ +{ + "type": "int32", + "data": [ + 30847 + ] +}
\ No newline at end of file diff --git a/operators/reduction/reduce_max/reduce_max_24_i16_axis0/desc.json b/operators/reduction/reduce_max/reduce_max_24_i16_axis0/desc.json new file mode 100644 index 000000000..3cd43b509 --- /dev/null +++ b/operators/reduction/reduce_max/reduce_max_24_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_max/reduce_max_24_i16_axis0/input-0.json b/operators/reduction/reduce_max/reduce_max_24_i16_axis0/input-0.json new file mode 100644 index 000000000..2ee149bca --- /dev/null +++ b/operators/reduction/reduce_max/reduce_max_24_i16_axis0/input-0.json @@ -0,0 +1,29 @@ +{ + "type": "int32", + "data": [ + 3577, + 25420, + -28586, + 23480, + 21471, + -14631, + 8628, + -21940, + 16914, + 13141, + -9534, + -28317, + 30847, + -3560, + 25763, + 11660, + 18244, + 17032, + -20013, + -8920, + -2181, + -145, + -29898, + 3051 + ] +}
\ No newline at end of file diff --git a/operators/reduction/reduce_max/reduce_max_24_i16_axis0/test.json b/operators/reduction/reduce_max/reduce_max_24_i16_axis0/test.json new file mode 100644 index 000000000..d889671b4 --- /dev/null +++ b/operators/reduction/reduce_max/reduce_max_24_i16_axis0/test.json @@ -0,0 +1,50 @@ +{ + version: { + _major: 0, + _minor: 30, + _patch: 0, + _draft: false + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 24 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 1 + ], + type: "INT16" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} |