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

Fix Sphinx python docstring formatting error. #13194

Merged
merged 2 commits into from
Nov 16, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
When ``fix_gamma`` is set to True, no sparse support is provided. If ``fix_gamma is`` set to False,
When ``fix_gamma`` is set to True, no sparse support is provided. If ``fix_gamma`` is set to False,

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@aaronmarkham your suggestion has been submitted.

the sparse tensors will fallback.

)code" ADD_FILELINE)
.set_num_inputs(5)
Expand Down