What is the meaning of @@?

Peng Yu pengyu.ut at gmail.com
Sun Dec 24 20:33:08 EST 2017


See for example this file.

https://github.com/tensorflow/tensorflow/blob/master/tensorflow/python/ops/rnn_cell.py

On Sat, Dec 23, 2017 at 12:03 AM, Steve D'Aprano
<steve+python at pearwood.info> wrote:
> On Sat, 23 Dec 2017 04:38 pm, Peng Yu wrote:
>
>> Hi, I only can find the doc for @. What does @@ mean in python?
>
> I don't think that @@ means anything yet.
>
> There was a proposal to use @@ for matrix exponentiation in Numpy, as @ is
> used for matrix multiplication, but that was left on hold to see whether it
> is really needed or not.
>
> Where did you find @@ in Python?
>
>
> (By the way, @ for matrix multiplication only works in Python 3.5 or better.)
>
> https://www.python.org/dev/peps/pep-0465/
>
>
>
> --
> Steve
> “Cheer up,” they said, “things could be worse.” So I cheered up, and sure
> enough, things got worse.
>
> --
> https://mail.python.org/mailman/listinfo/python-list



-- 
Regards,
Peng



More information about the Python-list mailing list