Attribute `__name__` missing from QActivation layer
- Dominant language
- Python
- Stars
- 584
- Forks
- 108
- PR merge metrics
- No merged PRs in 30d
Description
A function I am using calls `layer.activation.__name__`. The activation functions have been separated and called via the `QActivation` layer as shown on the figure. The error is also shown in the figure, where I tried three different activation functions in the `QActivation` layer. The same error was raised by the three different activation functions shown there. Thus, I am wondering if it is not possible to use the `__name__` attribute anymore, and whether there is an alternative to use such an attribute of the activation layer.

Contributor guide
Research direction
Start by reproducing the reported call to layer.activation.__name__ on QActivation with each of the three activations shown in the issue. Inspect how QActivation stores its activation and determine whether the expected outcome is to restore __name__ support or document an alternative. Done means the supported behavior is established and covered by an appropriate regression check or documentation update.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, tensorflow
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100