Skip to content

Conversation

@albanie
Copy link
Contributor

@albanie albanie commented Jan 17, 2018

Adds the missing reduce argument for the BCEWithLogitsLoss module
so that it matches the functional interface.

Adds the missing 'reduce' argument for the BCEWithLogitsLoss module
so that it matches the functional interface.
fixes the indentation used to update the BCEWithLogitsLoss module
and adds a unittest to sanity check its usage with `reduce=False`
@soumith
Copy link
Contributor

soumith commented Jan 17, 2018

@pytorchbot test this please

@yf225
Copy link
Contributor

yf225 commented Jan 17, 2018

@pytorchbot retest this please

1 similar comment
@ezyang
Copy link
Contributor

ezyang commented Jan 18, 2018

@pytorchbot retest this please

@lucasb-eyer
Copy link
Contributor

Sweet, I was about to implement this, thank you @albanie !

@soumith soumith merged commit f072986 into pytorch:master Jan 18, 2018
@soumith
Copy link
Contributor

soumith commented Jan 18, 2018

thanks @albanie !

@albanie albanie deleted the bce_arg_fix branch January 18, 2018 16:04
@soumith soumith added 0.3.1 and removed 0.3.1 labels Feb 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants