IDSIA / brainstorm

Fast, flexible and fun neural networks.
Other
1.3k stars 154 forks source link

Update binomial_cross_entropy_layer #97

Open jzilly opened 8 years ago

jzilly commented 8 years ago

Change to binomial_cross_entropy_layer such that 'default' and 'targets' of the same size are accepted. Before the had to have the same shape.

landscape-bot commented 8 years ago

Code Health Code quality remained the same when pulling 20927af on julian121266:patch-1 into 4f69701 on IDSIA:master.

flukeskywalker commented 8 years ago

I have a feeling this is sort of "magic" should be avoided (matching sizes but mismatching shapes). What do you think @Qwlouse?