From d98649c0d5e8f314dbcede51723bed51207584aa Mon Sep 17 00:00:00 2001 From: Frank Liu Date: Thu, 8 Nov 2018 16:28:02 -0800 Subject: [PATCH] Fix Sphinx python docstring formatting error (#13021). Fixes #13021 --- src/operator/nn/batch_norm.cc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/operator/nn/batch_norm.cc b/src/operator/nn/batch_norm.cc index be542ba5b6be..00cf5e9ccd30 100644 --- a/src/operator/nn/batch_norm.cc +++ b/src/operator/nn/batch_norm.cc @@ -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)