diff --git a/caffe2fluid/doc/SofmaxWithLoss.md b/caffe2fluid/doc/SofmaxWithLoss.md index 7ece1d018db67f5fef84044053de10513b23b081..72d81e0932e39169c6197a00beb6545ae9f55eb1 100644 --- a/caffe2fluid/doc/SofmaxWithLoss.md +++ b/caffe2fluid/doc/SofmaxWithLoss.md @@ -83,7 +83,7 @@ layer { # label输入shape:(100,1) # 输出shape:(10,1) softmaxwithloss = fluid.layers.softmax_with_cross_entropy(logits=logs, label=labels, - soft_label=True, ignore_index=-100, - numeric_stable_mode=False, + soft_label=False, ignore_index=-100, + numeric_stable_mode=True, return_softmax=False) ```