This is an automated email from the ASF dual-hosted git repository.

jxie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git


The following commit(s) were added to refs/heads/master by this push:
     new 89ffab9  fix example in smooth l1 document (#10929)
89ffab9 is described below

commit 89ffab9e81ae608da0af536a720fa0aebc163fd6
Author: JackieWu <w...@live.cn>
AuthorDate: Tue May 15 01:37:31 2018 +0800

    fix example in smooth l1 document (#10929)
---
 src/operator/tensor/elemwise_binary_scalar_op_extended.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/operator/tensor/elemwise_binary_scalar_op_extended.cc 
b/src/operator/tensor/elemwise_binary_scalar_op_extended.cc
index 0f00e48..9870342 100644
--- a/src/operator/tensor/elemwise_binary_scalar_op_extended.cc
+++ b/src/operator/tensor/elemwise_binary_scalar_op_extended.cc
@@ -98,7 +98,7 @@ where :math:`x` is an element of the tensor *lhs* and 
:math:`\sigma` is the scal
 
 Example::
 
-  smooth_l1([1, 2, 3, 4], sigma=1) = [0.5, 1.5, 2.5, 3.5]
+  smooth_l1([1, 2, 3, 4], scalar=1) = [0.5, 1.5, 2.5, 3.5]
 
 )code" ADD_FILELINE)
 .set_attr<FCompute>("FCompute<cpu>", BinaryScalarOp::Compute<

-- 
To stop receiving notification emails like this one, please contact
j...@apache.org.

Reply via email to