Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Frontend Failing Test: torch, paddle, numpy, tensorflow - activations.tensorflow.keras.activations.deserialize #28689

Merged
merged 1 commit into from
Mar 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -89,17 +89,7 @@ def simple_test_two_function(
@handle_frontend_test(
fn_tree="tensorflow.keras.activations.deserialize",
fn_name=st.sampled_from(get_callable_functions("keras.activations")).filter(
lambda x: not x[0].isupper()
and x
not in [
"deserialize",
"get",
"keras_export",
"serialize",
"deserialize_keras_object",
"serialize_keras_object",
"get_globals",
]
lambda x: not x[0].isupper() and x in ACTIVATION_FUNCTIONS
),
dtype_and_data=helpers.dtype_and_values(
available_dtypes=helpers.get_dtypes("valid"),
Expand All @@ -114,6 +104,7 @@ def test_tensorflow_deserialize(
fn_name,
fn_tree,
frontend,
backend_fw,
):
dtype_data, data = dtype_and_data
simple_test_two_function(
Expand All @@ -126,6 +117,7 @@ def test_tensorflow_deserialize(
atol_=1e-01,
ivy_submodules=["keras", "activations"],
framework_submodules=["keras", "activations"],
backend=backend_fw,
)


Expand Down
Loading