Reputation: 13
I ran into the double @@ symbol in the following code: https://github.com/tensorflow/tensorflow/blob/master/tensorflow/python/ops/rnn_cell.py
I understand that the @
is used as a decorator. But I can't seem to find any information on the use of @@
?
Upvotes: 0
Views: 188
Reputation: 85542
The @@
is used only in docstrings not in code. It is no valid Python syntax.
An external tool uses this for generating links to other classes in the documentation.
Upvotes: 4