qkeras icon indicating copy to clipboard operation
qkeras copied to clipboard

Attribute `__name__` missing from QActivation layer

Open Brainz22 opened this issue 1 year ago • 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

Brainz22 avatar Feb 01 '24 23:02 Brainz22