Decorator will do the same thing as general decorator

For example it could be implemented like this:
```python
class linear_activation:
    def __init(self, name, property):
        ...

def linear_activation(name, property):
        ...
```
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/WXXNZHRVYRBRZBGFWLLIM7IQ3FSQORYF/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to