Skip to content

Commit

Permalink
Update test_non_linear_activation_functions.py
Browse files Browse the repository at this point in the history
resolving issues ivy-llc#2
  • Loading branch information
bsovdat authored Sep 1, 2022
1 parent 4e583cb commit 28bd93a
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -186,12 +186,9 @@ def test_torch_leaky_relu(
)
)
),
as_variable=st.booleans(),
with_out=st.booleans(),
num_positional_args=helpers.num_positional_args(
fn_name="ivy.functional.frontends.torch.tanh"
),
native_array=st.booleans(),
)
def test_torch_tanh(
dtype_and_x,
Expand All @@ -204,7 +201,7 @@ def test_torch_tanh(
input_dtype, x = dtype_and_x

helpers.test_frontend_function(
input_dtypes=input_dtype,
input_dtypes=[input_dtype],
as_variable_flags=as_variable,
with_out=with_out,
num_positional_args=num_positional_args,
Expand All @@ -214,4 +211,4 @@ def test_torch_tanh(
fn_name="tanh",
input=np.asarray(x, dtype=input_dtype),
out=None,
)
)

0 comments on commit 28bd93a

Please sign in to comment.