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

fix Tanh remainder cn doc #2851

Merged

Conversation

wangxicoding
Copy link
Contributor

@wangxicoding wangxicoding commented Nov 5, 2020

Fix Tanh & remainder cn docs, rm enable_static and change print(out.numpy()) --> print(out).

Both mod and floor_mod are aliases of remainder,so change alias_api_mapping file, paddle.tensor.math.remainder use default alias paddle.mod.

EN docs see PaddlePaddle/Paddle#28455

Tanh preview:
image

remainder(paddle.mod) preview
image

@paddle-bot-old
Copy link

paddle-bot-old bot commented Nov 5, 2020

Thanks for your contribution!

@wangxicoding wangxicoding force-pushed the fix_tanh_remainder_doc branch from 2d02c48 to 0f0685c Compare November 6, 2020 02:59
@wangxicoding wangxicoding changed the title fix tanh remainder cn doc fix Tanh remainder cn doc Nov 6, 2020
Copy link
Collaborator

@TCChenlong TCChenlong left a comment

Choose a reason for hiding this comment

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

LGTM

@wangxicoding wangxicoding merged commit 094ccf8 into PaddlePaddle:develop Nov 9, 2020
@wangxicoding wangxicoding deleted the fix_tanh_remainder_doc branch November 26, 2020 09:14
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.

2 participants