Skip to content

Add digamma api cn doc#3574

Merged
chenwhql merged 10 commits intoPaddlePaddle:developfrom
zyfncg:add_digamma_doc
Jun 16, 2021
Merged

Add digamma api cn doc#3574
chenwhql merged 10 commits intoPaddlePaddle:developfrom
zyfncg:add_digamma_doc

Conversation

@zyfncg
Copy link
Contributor

@zyfncg zyfncg commented Jun 4, 2021

  1. Add digamma api cn doc

    related PR: PaddlePaddle/Paddle#33278

image

  1. Fix a CI bug, close cache in Pip install

@paddle-bot-old
Copy link

paddle-bot-old bot commented Jun 4, 2021

Thanks for your contribution!

@CLAassistant
Copy link

CLAassistant commented Jun 4, 2021

CLA assistant check
All committers have signed the CLA.

Copy link
Contributor

@chenwhql chenwhql left a comment

Choose a reason for hiding this comment

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

LGTM

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.

需要在 docs/Overview_cn.rst at develop · PaddlePaddle/docs 这个文件中补充该API

\\Out = \Psi(x) = \frac{ \Gamma^{'}(x) }{ \Gamma(x) }\\


参数:
Copy link
Collaborator

Choose a reason for hiding this comment

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

需要调整下格式:
参数: ->
参数
:::::::::(9个英文冒号)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done!

- **x** (Tensor) – 该OP的输入为Tensor。数据类型为float32,float64。
- **name** (str,可选) – 该参数供开发人员打印调试信息时使用,具体用法请参见 :ref:`api_guide_Name` ,默认值为None。

返回:Tensor, digamma函数计算结果,数据类型和维度大小与输入一致。
Copy link
Collaborator

Choose a reason for hiding this comment

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

同上:
返回: ->
返回
:::::::::(9个英文冒号)
Tensor, digamma函数计算结果,数据类型和维度大小与输入一致。

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done!


返回:Tensor, digamma函数计算结果,数据类型和维度大小与输入一致。

**代码示例**:
Copy link
Collaborator

Choose a reason for hiding this comment

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

同上:
代码示例: ->
代码示例
:::::::::(9个英文冒号)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done!

Copy link
Contributor

@wadefelix wadefelix left a comment

Choose a reason for hiding this comment

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

LGTM

pip install https://paddle-fluiddoc-ci.bj.bcebos.com/python/dist/paddlepaddle_gpu-0.0.0-cp38-cp38-linux_x86_64.whl
PADDLE_WHL=https://paddle-fluiddoc-ci.bj.bcebos.com/python/dist/paddlepaddle_gpu-2.1.0-cp38-cp38-linux_x86_64.whl
fi
pip install --no-cache-dir -i https://mirror.baidu.com/pypi/simple ${PADDLE_WHL}
Copy link
Contributor

Choose a reason for hiding this comment

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

good job 👍🏻

Copy link
Contributor Author

Choose a reason for hiding this comment

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

thanks!

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

@chenwhql chenwhql merged commit 5fc20cb into PaddlePaddle:develop Jun 16, 2021
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.

5 participants