diff --git a/ivy_tests/test_ivy/test_frontends/test_paddle/test_stat.py b/ivy_tests/test_ivy/test_frontends/test_paddle/test_stat.py index a7b41e0baf820..18f83714fe1b5 100644 --- a/ivy_tests/test_ivy/test_frontends/test_paddle/test_stat.py +++ b/ivy_tests/test_ivy/test_frontends/test_paddle/test_stat.py @@ -189,3 +189,35 @@ def test_paddle_var( unbiased=unbiased, keepdim=keepdim, ) + +# quantile +@handle_frontend_test( + fn_tree="paddle.quantile", + dtype_and_x=_statistical_dtype_values(function="quantile"), + q=st.floats(0.0, 1.0), + keepdim=st.booleans(), +) +def test_paddle_quantile( + *, + dtype_and_x, + q, + keepdim, + on_device, + fn_tree, + frontend, + backend_fw, + test_flags, +): + input_dtypes, x, axis = dtype_and_x + helpers.test_frontend_function( + input_dtypes=input_dtypes, + frontend=frontend, + backend_to_test=backend_fw, + test_flags=test_flags, + fn_tree=fn_tree, + on_device=on_device, + x=x[0], + q=q, + axis=axis, + keepdim=keepdim, + )