Skip to content

Conversation

@colesbury
Copy link
Member

We want @generated only in the build products. Otherwise, templates are
locked and changes to the templates are excluded from phabricator.

Also adds @generated to autograd generated files (e.g.
VariableType.cpp).

See #7780

We want @generated only in the build products. Otherwise, templates are
locked and changes to the templates are excluded from phabricator.

Also adds @generated to autograd generated files (e.g.
VariableType.cpp).

See pytorch#7780
The template filename is not always the same as the generated filename.
@ezyang ezyang merged commit 8b85b8a into pytorch:master May 29, 2018
ezyang added a commit that referenced this pull request May 29, 2018
weiyangfb pushed a commit to weiyangfb/pytorch that referenced this pull request Jun 11, 2018
* Avoid @generated in templates.

We want @generated only in the build products. Otherwise, templates are
locked and changes to the templates are excluded from phabricator.

Also adds @generated to autograd generated files (e.g.
VariableType.cpp).

See pytorch#7780

* Don't try to specify the template filename in generated comment

The template filename is not always the same as the generated filename.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants