Propsal for "version first supported" documentation feature

Hello Forum!

How hard would it be (Yeah, yeah, I know … famous last words …)
to add to the documentation the version of pytorch to which a feature
(function, class, etc.) was first added?

I recall seeing something like this in various java documentation. I’m
thinking of something like the javadoc @since tag.

Best.

K. Frank

1 Like

I think this is a good idea but I’m not sure how difficult it would be to implement. A python decorator that behaves like @since could indeed work, I’d expect it to modify a function’s docstring and add a “since vX.X” line.

Please open us a feature request issue on our issue tracker! Issues · pytorch/pytorch · GitHub

Hi Richard!

I apologize, but I don’t have a github account at the moment. (I used
to have one, but google munged my credentials.)

Best.

K. Frank