Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove local_variables from train_step/eval_step #412

Closed
wants to merge 2 commits into from

Conversation

vreis
Copy link
Contributor

@vreis vreis commented Mar 2, 2020

Summary:
This is part of a series of diffs to eliminate local_variables (see D20171981).
Now that we've removed local_variables from step, remove it
from train_step, eval_step.

Differential Revision: D20170006

Summary:
local_variables makes the code in train_step really hard to read. Killing it
from all hooks will take time, so start from a single hook (on_step).

Differential Revision: D20171981

fbshipit-source-id: 79342642cbac9a8ebcc9ca59a2b7cce8d4f64f14
Summary:
This is part of a series of diffs to eliminate local_variables (see D20171981).
Now that we've removed local_variables from step, remove it
from train_step, eval_step.

Differential Revision: D20170006

fbshipit-source-id: 3d044c9e383601662ed19c05bc05b1ee23667709
@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported labels Mar 2, 2020
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D20170006

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 841b439.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants