Skip to content

Commit

Permalink
fix: Fixed ivy.adjoint test for all backends (#27984)
Browse files Browse the repository at this point in the history
Co-authored-by: NripeshN <nripesh14@gmail.com>
  • Loading branch information
Sai-Suraj-27 and NripeshN authored Jan 22, 2024
1 parent fc422f8 commit 4c30835
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -859,7 +859,6 @@ def _tucker_data(draw):
fn_tree="functional.ivy.experimental.adjoint",
dtype_x=helpers.dtype_and_values(
available_dtypes=(
ivy.float16,
ivy.float32,
ivy.float64,
ivy.complex64,
Expand All @@ -875,14 +874,15 @@ def _tucker_data(draw):
shared_dtype=True,
),
)
def test_adjoint(dtype_x, test_flags, backend_fw, fn_name):
def test_adjoint(dtype_x, test_flags, backend_fw, fn_name, on_device):
dtype, x = dtype_x
helpers.test_function(
input_dtypes=dtype,
test_flags=test_flags,
backend_to_test=backend_fw,
fn_name=fn_name,
x=x[0],
on_device=on_device,
)


Expand Down

0 comments on commit 4c30835

Please sign in to comment.