Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refine API doc string #11295

Merged
merged 1 commit into from
Jun 8, 2018
Merged

Refine API doc string #11295

merged 1 commit into from
Jun 8, 2018

Conversation

panyx0718
Copy link
Contributor

@panyx0718 panyx0718 commented Jun 7, 2018

It seems all our activation ops suffer from the issue

image

@panyx0718
Copy link
Contributor Author

panyx0718 commented Jun 7, 2018

I'm wondering if there is a way to see it's effect on webpage?

I manually print it:

sigmoid

Sigmoid Activation Operator

$$out = \frac{1}{1 + e^{-x}}$$


Args:
    x: Input of Sigmoid operator
       Duplicable: False  Optional: False
    use_mkldnn (BOOLEAN): (bool, default false) Only used in mkldnn kernel
    op_role (INT): The role of this operator
    op_role_var (STRINGS): Optimized for variable

Returns:
    Output of Sigmoid operator

@dzhwinter
Copy link
Contributor

Compile the doc site, then we can preview the effects.

@panyx0718 panyx0718 merged commit 2d7c836 into PaddlePaddle:develop Jun 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants