Skip to content

Conversation

goodfeli
Copy link
Contributor

@goodfeli goodfeli commented May 2, 2015

No description provided.

@lamblin
Copy link
Member

lamblin commented May 2, 2015

It looks like a lot of logic is copy-pasted from the case we wanted the sum. Could you refactor it?
Also, there are no unit tests for these methods, could you add some that check that the sum of the per-example costs is indeed the same as the cost for the whole batch?

@lamblin lamblin self-assigned this May 6, 2015
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