From 635bc99c8fd012e4e7b3dcc1dc72a9a0db6661fb Mon Sep 17 00:00:00 2001 From: James Ward Date: Wed, 23 Nov 2022 11:55:32 +0000 Subject: Create MI tests for Reduction: REDUCE_MIN, REDUCE_MAX * Also include test_select improvements Signed-off-by: James Ward Change-Id: I306a8ed57975bc429d6cd5a8a24777b889593ddf --- verif/conformance/tosa_main_profile_ops_info.json | 72 +++++++++++++++++++++++ 1 file changed, 72 insertions(+) (limited to 'verif/conformance/tosa_main_profile_ops_info.json') diff --git a/verif/conformance/tosa_main_profile_ops_info.json b/verif/conformance/tosa_main_profile_ops_info.json index ee2abb7..ce9b71f 100644 --- a/verif/conformance/tosa_main_profile_ops_info.json +++ b/verif/conformance/tosa_main_profile_ops_info.json @@ -823,5 +823,77 @@ "profile": [ "tosa-mi" ] + }, + "reduce_max": { + "group": "reduction", + "generator_args": [ + [ + "--target-dtype", + "fp32", + "--target-dtype", + "fp16", + "--target-dtype", + "bf16", + "--fp-values-range", + "-2.0,2.0", + "--tensor-dim-range", + "1,32" + ], + [ + "--target-dtype", + "fp32", + "--fp-values-range", + "-2.0,2.0", + "--target-shape", + "1,1,1,65531", + "--target-shape", + "1,1,65539,2" + ] + ], + "params": {}, + "permutes": [ + "shape", + "type", + "axis" + ], + "profile": [ + "tosa-mi" + ] + }, + "reduce_min": { + "group": "reduction", + "generator_args": [ + [ + "--target-dtype", + "fp32", + "--target-dtype", + "fp16", + "--target-dtype", + "bf16", + "--fp-values-range", + "-2.0,2.0", + "--tensor-dim-range", + "1,32" + ], + [ + "--target-dtype", + "fp32", + "--fp-values-range", + "-2.0,2.0", + "--target-shape", + "1,1,65531,1", + "--target-shape", + "1,65539,2,1" + ] + ], + "params": {}, + "permutes": [ + "shape", + "type", + "axis" + ], + "profile": [ + "tosa-mi" + ] } } \ No newline at end of file -- cgit v1.2.1