diff --git a/python/paddle/fluid/layers/nn.py b/python/paddle/fluid/layers/nn.py index 283d3c4b2a9b6e7840e7ecc967b62a027d8bed2a..2d33742e73c6421b38855b4d4816859a09763fd5 100644 --- a/python/paddle/fluid/layers/nn.py +++ b/python/paddle/fluid/layers/nn.py @@ -839,9 +839,9 @@ def linear_chain_crf(input, label, param_attr=None): param_attr(ParamAttr): The attribute of the learnable parameter. Returns: - ${log_likelihood_comment} - ${transitionexps_comment} - ${emissionexps_comment} + output(${emission_exps_type}): ${emission_exps_comment} \n + output(${transition_exps_type}): ${transition_exps_comment} \n + output(${log_likelihood_type}): ${log_likelihood_comment} """ helper = LayerHelper('linear_chain_crf', **locals()) @@ -4210,7 +4210,7 @@ def lrn(input, n=5, k=1.0, alpha=1e-4, beta=0.75, name=None): .. math:: - Output(i, x, y) = Input(i, x, y) / \left( \\ + Output(i, x, y) = Input(i, x, y) / \left( \\ k + \alpha \sum\limits^{\min(C, c + n/2)}_{j = \max(0, c - n/2)} \\ (Input(j, x, y))^2\right)^{\beta}