diff options
Diffstat (limited to 'verif/conformance')
-rw-r--r-- | verif/conformance/test_select.py | 6 | ||||
-rw-r--r-- | verif/conformance/tosa_base_profile_framework_ops_info.json | 13 | ||||
-rw-r--r-- | verif/conformance/tosa_main_profile_ops_info.json | 65 |
3 files changed, 82 insertions, 2 deletions
diff --git a/verif/conformance/test_select.py b/verif/conformance/test_select.py index 9868a7f..f4e2a61 100644 --- a/verif/conformance/test_select.py +++ b/verif/conformance/test_select.py @@ -518,6 +518,12 @@ class ExpOperator(Operator): name = "exp" +class ErfOperator(Operator): + """Test selector for the ERF operator.""" + + name = "erf" + + class FFT2DOperator(Operator): """Test selector for the FFT2D operator.""" diff --git a/verif/conformance/tosa_base_profile_framework_ops_info.json b/verif/conformance/tosa_base_profile_framework_ops_info.json index 24a23b5..5d7e4a3 100644 --- a/verif/conformance/tosa_base_profile_framework_ops_info.json +++ b/verif/conformance/tosa_base_profile_framework_ops_info.json @@ -85,6 +85,16 @@ "tosa-mi" ] }, + "erf": { + "tests": [ + "erf_13x21x3_qu8", + "erf_14x19_qi8", + "erf_1x8x4x17_qi16" + ], + "profile": [ + "tosa-mi" + ] + }, "fully_connected": { "alternate_names": [ "matmul" @@ -257,8 +267,7 @@ "tanh_1x8x4x17_qi16" ], "profile": [ - "tosa-bi", "tosa-mi" ] } -}
\ No newline at end of file +} diff --git a/verif/conformance/tosa_main_profile_ops_info.json b/verif/conformance/tosa_main_profile_ops_info.json index 5df89d6..07b6af3 100644 --- a/verif/conformance/tosa_main_profile_ops_info.json +++ b/verif/conformance/tosa_main_profile_ops_info.json @@ -2925,5 +2925,70 @@ ] } } + }, + "erf": { + "group": "activation", + "profile": [ + "tosa-mi" + ], + "generation": { + "standard": { + "generator_args": [ + [ + "--target-dtype", + "fp32", + "--target-dtype", + "fp16", + "--target-dtype", + "bf16", + "--fp-values-range", + "-2.0,2.0", + "--tensor-dim-range", + "18,60", + "--target-rank", + "1", + "--target-rank", + "2", + "--target-rank", + "3" + ], + [ + "--target-dtype", + "fp32", + "--target-dtype", + "fp16", + "--target-dtype", + "bf16", + "--fp-values-range", + "-2.0,2.0", + "--tensor-dim-range", + "1,24", + "--target-rank", + "4", + "--target-rank", + "5" + ], + [ + "--target-dtype", + "fp32", + "--fp-values-range", + "-2.0,2.0", + "--target-shape", + "1,65535,2,1,1", + "--target-shape", + "1,65540,1,2" + ] + ] + } + }, + "selection": { + "default": { + "params": {}, + "permutes": [ + "shape", + "type" + ] + } + } } }
\ No newline at end of file |