Skip to content

Commit

Permalink
added test
Browse files Browse the repository at this point in the history
  • Loading branch information
jindalai committed Jul 27, 2023
1 parent 3a14b0c commit 8cc6855
Showing 1 changed file with 29 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,35 @@ def test_paddle_pinv(
)


#qr
@handle_frontend_test(
fn_tree="paddle.tensor.linalg.qr",
dtype_and_x=helpers.dtype_and_values(
dtype= ['float32','float64']
)
)
def test_paddle_qr(
dtype_and_x,
mode,
frontend,
test_flags,
fn_tree,
on_device,
):
dtype, x = dtype_and_x

helpers.test_frontend_function(
input_dtypes=dtype,
frontend=frontend,
test_flags=test_flags,
fn_tree=fn_tree,
on_device=on_device,
x=x,
mode=mode,
)


# cholesky
@handle_frontend_test(
fn_tree="paddle.tensor.linalg.cholesky",
Expand Down

0 comments on commit 8cc6855

Please sign in to comment.