diff options
author | Jeff Donahue <jeff.donahue@gmail.com> | 2014-07-11 01:48:36 -0700 |
---|---|---|
committer | Jeff Donahue <jeff.donahue@gmail.com> | 2014-08-13 11:57:33 -0700 |
commit | 7a3ed9b8edf43895770b63cb4d9f5cacf0dba047 (patch) | |
tree | 25ae32e517230009f913eff910a25316fbc5fb3e /src/caffe/layers/loss_layer.cpp | |
parent | d0cae53dd5291331ca7da0dfef0e7ff54e8e0bac (diff) | |
download | caffeonacl-7a3ed9b8edf43895770b63cb4d9f5cacf0dba047.tar.gz caffeonacl-7a3ed9b8edf43895770b63cb4d9f5cacf0dba047.tar.bz2 caffeonacl-7a3ed9b8edf43895770b63cb4d9f5cacf0dba047.zip |
Add net tests for loss_weight.
Check that the loss and gradients throughout the net are appropriately scaled
for a few loss_weight values, assuming a default weight of 1 in the loss layer
only. Also modify test_gradient_check_util to associate a loss of 2 rather
than 1 with the top blob, so that loss layer tests fail if they don't scale
their diffs.
Diffstat (limited to 'src/caffe/layers/loss_layer.cpp')
0 files changed, 0 insertions, 0 deletions