Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Malloc at least one byte in Parallel #2924
Conversation
|
Hrmm, probably better to actually look at the root issue. Seems like on the mallocs we should check layer state. Although this patch will workaround the issue, we should probably have a more general debate on what the behavior should even be training with no learnable params. |
I agree. It doesn't make sense to me to train without learnable params (maybe someone just want to see the loss of a network? still doesn't quite make sense to me...). Perhaps train without learnable params should be banned in the future? Since it is a simple 3 line workaround, I'll first merge this, and debates can follow in new issues. |
ronghanghu
added a commit
that referenced
this pull request
Aug 14, 2015
|
|
ronghanghu |
33e5b39
|
ronghanghu commentedAug 14, 2015
This seems to be a simple workaround to fix #2922.
I'll merge once Travis CI pass.