Skip to content

Simplify the _check_loss_fn() logic #1243

New issue

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

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

Already on GitHub? # to your account

Closed
wants to merge 1 commit into from

Conversation

cicichen01
Copy link
Contributor

Summary: The _check_loss_fn() has exact same logic when sample_wise_grads_per_batch is None and True cases. Thus simplify the logic.

Differential Revision: D54883319

@facebook-github-bot
Copy link
Contributor

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

Summary:

The _check_loss_fn() has exact same logic when sample_wise_grads_per_batch is None and True cases. Thus simplify the logic.

Differential Revision: D54883319
@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 48d71ca.

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants