Bidirectional layer rejects custom activations #19737
Labels
stat:awaiting keras-eng
Awaiting response from Keras engineer
type:support
User is asking for help / asking an implementation question. Stackoverflow would be better suited.
Every other layer I tried accepts custom activations
Minimal code
Output
ValueError: Unknown activation function '{'module': 'tensoions.py", line 646, in deserializerflow.python.eager.polymorphic_function.polymorphic_function', 'class_name': 'Function', 'config': 'my_hard_tanh', 'rflow.python.eager.polymorphic_function.polymorphic_function', 'class_name': 'Functregistered_name': 'Function'}' cannot be deserialized.
Versions
python 3.11.9
tensorflow 2.15.1
keras 2.15.0
The text was updated successfully, but these errors were encountered: