Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
fix example in smooth l1 document (#10929)
Browse files Browse the repository at this point in the history
  • Loading branch information
wkcn authored and piiswrong committed May 14, 2018
1 parent 1143e78 commit 89ffab9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/operator/tensor/elemwise_binary_scalar_op_extended.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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<
Expand Down

0 comments on commit 89ffab9

Please sign in to comment.