diff options
Diffstat (limited to 'operators/reduction/reduce_max/reduce_max_22x7_f32_axis1')
4 files changed, 349 insertions, 0 deletions
diff --git a/operators/reduction/reduce_max/reduce_max_22x7_f32_axis1/Conformance-result-0.json b/operators/reduction/reduce_max/reduce_max_22x7_f32_axis1/Conformance-result-0.json new file mode 100644 index 000000000..282658900 --- /dev/null +++ b/operators/reduction/reduce_max/reduce_max_22x7_f32_axis1/Conformance-result-0.json @@ -0,0 +1,71 @@ +{ + "type": "float32", + "data": [ + [ + 1.4134777784347534 + ], + [ + 1.9385981559753418 + ], + [ + 1.2526373863220215 + ], + [ + 0.9007332921028137 + ], + [ + 1.5600777864456177 + ], + [ + 1.972338318824768 + ], + [ + 1.5892088413238525 + ], + [ + 1.3449807167053223 + ], + [ + 1.495553970336914 + ], + [ + 1.9336682558059692 + ], + [ + 1.5586256980895996 + ], + [ + 1.846198558807373 + ], + [ + 1.5134629011154175 + ], + [ + 1.6158931255340576 + ], + [ + 1.916898488998413 + ], + [ + 1.7415255308151245 + ], + [ + 0.7382482886314392 + ], + [ + 1.8195935487747192 + ], + [ + 0.08804920315742493 + ], + [ + 1.837329387664795 + ], + [ + 1.9382743835449219 + ], + [ + 1.3831878900527954 + ] + ] +}
\ No newline at end of file diff --git a/operators/reduction/reduce_max/reduce_max_22x7_f32_axis1/desc.json b/operators/reduction/reduce_max/reduce_max_22x7_f32_axis1/desc.json new file mode 100644 index 000000000..d418e4060 --- /dev/null +++ b/operators/reduction/reduce_max/reduce_max_22x7_f32_axis1/desc.json @@ -0,0 +1,23 @@ +{ + "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" + ], + "profile": [ + "tosa-mi" + ] +}
\ No newline at end of file diff --git a/operators/reduction/reduce_max/reduce_max_22x7_f32_axis1/input-0.json b/operators/reduction/reduce_max/reduce_max_22x7_f32_axis1/input-0.json new file mode 100644 index 000000000..1c9f40b34 --- /dev/null +++ b/operators/reduction/reduce_max/reduce_max_22x7_f32_axis1/input-0.json @@ -0,0 +1,203 @@ +{ + "type": "float32", + "data": [ + [ + 0.2768481969833374, + 0.3607815206050873, + 1.3977413177490234, + -1.9810343980789185, + 1.4134777784347534, + 0.4764763414859772, + -1.349026083946228 + ], + [ + 1.0917495489120483, + 1.4219661951065063, + -0.9829460382461548, + 1.6751747131347656, + -0.18217027187347412, + 0.4136978089809418, + 1.9385981559753418 + ], + [ + -0.5538556575775146, + 1.2526373863220215, + -0.726403534412384, + 1.1968541145324707, + 0.4029356837272644, + -1.1345772743225098, + -0.3438956141471863 + ], + [ + -0.729457437992096, + -1.6875663995742798, + -1.880660891532898, + -0.6140853762626648, + -1.923863410949707, + -1.3380489349365234, + 0.9007332921028137 + ], + [ + 0.8323649168014526, + 0.954321563243866, + -0.7313873171806335, + 1.5600777864456177, + 0.3753221929073334, + -1.4958946704864502, + -1.4251253604888916 + ], + [ + 0.7723817229270935, + -1.3082242012023926, + 0.0291708055883646, + 1.9670978784561157, + -1.9839695692062378, + -1.933680772781372, + 1.972338318824768 + ], + [ + 0.33855533599853516, + -1.4923601150512695, + 1.5892088413238525, + 1.5215212106704712, + 0.14480164647102356, + 0.4871681332588196, + -0.907251238822937 + ], + [ + -1.7979211807250977, + 0.3782704472541809, + -0.8209792375564575, + 0.654484212398529, + 1.3449807167053223, + -1.927357792854309, + 0.382855087518692 + ], + [ + -1.0748778581619263, + 1.495553970336914, + -0.9853419661521912, + 0.4430805444717407, + 0.21416336297988892, + -0.41533398628234863, + 0.7104830741882324 + ], + [ + 0.903078556060791, + 0.26775118708610535, + 1.0336889028549194, + 1.9336682558059692, + -0.32291045784950256, + 0.058332208544015884, + -1.950120449066162 + ], + [ + 1.1841142177581787, + 0.0809202715754509, + -0.36815428733825684, + -1.623712182044983, + 1.5586256980895996, + -0.4199710488319397, + 0.7303264141082764 + ], + [ + -1.4025033712387085, + 1.846198558807373, + -1.2862329483032227, + -1.2018320560455322, + 1.4359314441680908, + 1.6503310203552246, + -1.1514103412628174 + ], + [ + -0.12079644948244095, + 0.9339796304702759, + 1.5134629011154175, + -0.48378920555114746, + 0.0680779442191124, + 0.9668656587600708, + 0.9245439171791077 + ], + [ + 1.131840467453003, + 0.279735267162323, + -1.5815396308898926, + 1.6158931255340576, + 1.4622901678085327, + 1.192389726638794, + -1.6005500555038452 + ], + [ + -1.182410478591919, + 0.9744014739990234, + -1.9074395895004272, + 1.916898488998413, + -0.49142128229141235, + 0.8772501349449158, + 1.5502843856811523 + ], + [ + -0.4214804470539093, + -0.7234700322151184, + 0.43496450781822205, + 0.32395750284194946, + -0.3634400963783264, + 0.40709903836250305, + 1.7415255308151245 + ], + [ + -0.12943896651268005, + -1.21303129196167, + -0.4911760687828064, + -0.4235720634460449, + -1.4755651950836182, + -1.3485139608383179, + 0.7382482886314392 + ], + [ + -0.6420890092849731, + 1.8195935487747192, + -1.0256130695343018, + -1.604301929473877, + 1.0140182971954346, + 1.524144172668457, + -0.8875465989112854 + ], + [ + -1.1916476488113403, + -1.256935477256775, + 0.08804920315742493, + -0.12633343040943146, + -0.9622406363487244, + -1.819307565689087, + -0.07403463870286942 + ], + [ + 1.837329387664795, + 0.6100767850875854, + -0.017973773181438446, + -1.5572316646575928, + -0.990254819393158, + -0.8209041953086853, + 1.0592142343521118 + ], + [ + 1.5068432092666626, + 1.6065673828125, + 1.9382743835449219, + 1.929466724395752, + 1.811996579170227, + -1.7127114534378052, + -1.4488258361816406 + ], + [ + -0.7821338772773743, + 0.21159301698207855, + -1.6120884418487549, + 1.3831878900527954, + 0.46702471375465393, + 0.16945761442184448, + -1.338754653930664 + ] + ] +}
\ No newline at end of file diff --git a/operators/reduction/reduce_max/reduce_max_22x7_f32_axis1/test.json b/operators/reduction/reduce_max/reduce_max_22x7_f32_axis1/test.json new file mode 100644 index 000000000..b3169c1dd --- /dev/null +++ b/operators/reduction/reduce_max/reduce_max_22x7_f32_axis1/test.json @@ -0,0 +1,52 @@ +{ + version: { + _major: 0, + _minor: 51, + _patch: 0, + _draft: true + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 1 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 22, + 7 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 22, + 1 + ], + type: "FP32" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} |