commit | babb28d2a3a755424f72518bc360d9f511a24463 | [log] [tgz] |
---|---|---|
author | Rushabh Shah <rushabhmshah99@fb.com> | Mon Jul 24 21:43:15 2017 -0700 |
committer | Facebook Github Bot <facebook-github-bot@users.noreply.github.com> | Mon Jul 24 21:52:30 2017 -0700 |
tree | 4a8484765945447979bbd0027f301b3cb3d40ca8 | |
parent | 5449afa85533eb7428822198cbf691061cd73519 [diff] |
Change DHCECK to CAFFE_ENFORCE in softmax_with_loss_op.cc Summary: Based on discussion on the post in Caffe2 users. Changing DCHECK that works only in debug mode to CAFFE_ENFORCE that throws exception and is a better option. Update: Also correct the check for label_data >= 0, did not check for all elements previously. Moved it to inner loop. Reviewed By: akyrola Differential Revision: D5483788 fbshipit-source-id: ccbff09e19e05e7036db772498f71795063c1fed
Caffe2 is a lightweight, modular, and scalable deep learning framework. Building on the original Caffe, Caffe2 is designed with expression, speed, and modularity in mind.
Caffe2 research award competition request for proposals
Please use Github issues (https://github.com/caffe2/caffe2/issues) to ask questions, report bugs, and request new features.
Please participate in our survey (https://www.surveymonkey.com/r/caffe2). We will send you information about new releases and special developer events/webinars.
Caffe2 is released under the BSD 2-Clause license.