Skip to content

Commit

Permalink
Fix Sphinx python docstring formatting error (apache#13021).
Browse files Browse the repository at this point in the history
  • Loading branch information
frankfliu committed Nov 12, 2018
1 parent d8d2d6e commit d98649c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/operator/nn/batch_norm.cc
Original file line number Diff line number Diff line change
Expand Up @@ -567,10 +567,9 @@ axis to be the last item in the input shape.
Both ``gamma`` and ``beta`` are learnable parameters. But if ``fix_gamma`` is true,
then set ``gamma`` to 1 and its gradient to 0.
Note::
When fix_gamma is set to True, no sparse support is provided. If fix_gamma is set to False,
the sparse tensors will fallback.
.. Note::
When fix_gamma is set to True, no sparse support is provided. If fix_gamma is set to False,
the sparse tensors will fallback.
)code" ADD_FILELINE)
.set_num_inputs(5)
Expand Down

0 comments on commit d98649c

Please sign in to comment.