Skip to content

Commit

Permalink
Add complex number testing support in tf.realdiv(#20703)
Browse files Browse the repository at this point in the history
Co-authored-by: sherry30 <[email protected]>
  • Loading branch information
sladyn98 and sherry30 authored Aug 16, 2023
1 parent 84aece8 commit 0e955a8
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1585,7 +1585,7 @@ def test_tensorflow_no_op(
@handle_frontend_test(
fn_tree="tensorflow.realdiv",
dtype_and_x=helpers.dtype_and_values(
available_dtypes=helpers.get_dtypes("float"),
available_dtypes=helpers.get_dtypes("float_and_complex"),
num_arrays=2,
min_value=-20,
max_value=20,
Expand All @@ -1602,7 +1602,6 @@ def test_tensorflow_realdiv(
fn_tree,
on_device,
):
# todo: test for complex numbers
input_dtype, x = dtype_and_x
helpers.test_frontend_function(
input_dtypes=input_dtype,
Expand Down

0 comments on commit 0e955a8

Please sign in to comment.