From 0076112a2371fdd156f795dda316e979edd71d77 Mon Sep 17 00:00:00 2001 From: Jay Choy <91728831+ZJay07@users.noreply.github.com> Date: Mon, 25 Mar 2024 21:49:14 +0000 Subject: [PATCH] fixed deserialize --- .../test_tensorflow/test_keras/test_activations.py | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/ivy_tests/test_ivy/test_frontends/test_tensorflow/test_keras/test_activations.py b/ivy_tests/test_ivy/test_frontends/test_tensorflow/test_keras/test_activations.py index 9c1b0010323b2..b04289ee565a0 100644 --- a/ivy_tests/test_ivy/test_frontends/test_tensorflow/test_keras/test_activations.py +++ b/ivy_tests/test_ivy/test_frontends/test_tensorflow/test_keras/test_activations.py @@ -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"), @@ -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( @@ -126,6 +117,7 @@ def test_tensorflow_deserialize( atol_=1e-01, ivy_submodules=["keras", "activations"], framework_submodules=["keras", "activations"], + backend=backend_fw, )