google/qkeras

Attribute `__name__` missing from QActivation layer

Brainz22 opened this issue · 0 comments

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.
image