Back to Caffe

Softmax with Loss Layer

docs/tutorial/layers/softmaxwithloss.md

1.01.4 KB
Original Source

Softmax with Loss Layer

The softmax loss layer computes the multinomial logistic loss of the softmax of its inputs. It's conceptually identical to a softmax layer followed by a multinomial logistic loss layer, but provides a more numerically stable gradient.

Parameters

{% highlight Protobuf %} {% include proto/SoftmaxParameter.txt %} {% endhighlight %}

{% highlight Protobuf %} {% include proto/LossParameter.txt %} {% endhighlight %}

See also