summaryrefslogtreecommitdiff
path: root/src/caffe/layers/loss_layer.cpp
diff options
context:
space:
mode:
authorJeff Donahue <jeff.donahue@gmail.com>2014-07-11 01:48:36 -0700
committerJeff Donahue <jeff.donahue@gmail.com>2014-08-13 11:57:33 -0700
commit7a3ed9b8edf43895770b63cb4d9f5cacf0dba047 (patch)
tree25ae32e517230009f913eff910a25316fbc5fb3e /src/caffe/layers/loss_layer.cpp
parentd0cae53dd5291331ca7da0dfef0e7ff54e8e0bac (diff)
downloadcaffeonacl-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