Skip to content

Wrong LaTeX format in operator documentation #5852

@wangkuiyi

Description

@wangkuiyi

For an example, in lrn_op.cc we have

$$
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}
$$

This violates the rule of LaTex in Markdown -- math equations must follow the starting $$, but not on the second line. This violation leads to wrong rendering of the equation on paddlepaddle.org:

screen shot 2017-11-22 at 4 13 56 pm

This issue is the same as https://github.com/PaddlePaddle/PaddlePaddle.org/issues/339

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions