Skip to content
This repository has been archived by the owner on Jul 1, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
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.

2 participants