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

[映射文档] No. 66 #6146

Closed
wants to merge 25 commits into from

Conversation

Liyulingyue
Copy link
Contributor

补充gumbel_softmax的文档

PaddlePaddle/PaConvert#118

@paddle-bot
Copy link

paddle-bot bot commented Aug 28, 2023

感谢你贡献飞桨文档,文档预览构建中,Docs-New 跑完后即可预览,预览链接:http://preview-pr-6146.paddle-docs-preview.paddlepaddle.org.cn/documentation/docs/zh/api/index_cn.html
预览工具的更多说明,请参考:飞桨文档预览工具

### 参数映射
| PyTorch | PaddlePaddle | 备注 |
|--------|--------------|------------------------------|
| logits | x | 输入参数 |
Copy link
Collaborator

Choose a reason for hiding this comment

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

加一句。仅参数名不同

| PyTorch | PaddlePaddle | 备注 |
|--------|--------------|------------------------------|
| logits | x | 输入参数 |
| tau | temperature | 0到1的值 |
Copy link
Collaborator

Choose a reason for hiding this comment

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

加一句。仅参数名不同

|--------|--------------|------------------------------|
| logits | x | 输入参数 |
| tau | temperature | 0到1的值 |
| hard | | 为True时,将进行one-hot编码,默认为False |
Copy link
Collaborator

Choose a reason for hiding this comment

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

这个不是对应paddle的hard吗

| logits | x | 输入参数 |
| tau | temperature | 0到1的值 |
| hard | | 为True时,将进行one-hot编码,默认为False |
| eps | | 计算的误差值 |
Copy link
Collaborator

Choose a reason for hiding this comment

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

加一句。暂无转写参数

| tau | temperature | 0到1的值 |
| hard | | 为True时,将进行one-hot编码,默认为False |
| eps | | 计算的误差值 |
| dim |axis| 计算的维度 |
Copy link
Collaborator

Choose a reason for hiding this comment

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

加一句。仅参数名不同

| dim |axis| 计算的维度 |

### 转写示例

Copy link
Collaborator

Choose a reason for hiding this comment

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

Copy link
Collaborator

Choose a reason for hiding this comment

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

@Liyulingyue 如果eps可以直接删除的话,就没有需要写转写示例的参数了,无需转写示例

@luotao1
Copy link
Collaborator

luotao1 commented Aug 31, 2023

张师傅,这是66还是67?

@Liyulingyue
Copy link
Contributor Author

张师傅,这是66还是67?

应该是66

@luotao1
Copy link
Collaborator

luotao1 commented Sep 1, 2023

#6146 (comment)

那这里贴的转换规则是67

@Liyulingyue
Copy link
Contributor Author

#6146 (comment)

那这里贴的转换规则是67

更新了链接的标题~

@zhwesky2010
Copy link
Collaborator

@Liyulingyue 去掉转写示例,这个没有学要转写的参数,另外CI失败了需要处理下

@zhwesky2010
Copy link
Collaborator

@Liyulingyue 代码风格检查失败了,需要处理下

@zhwesky2010
Copy link
Collaborator

请问No. 67 torch.nn.functional.pairwise_distance、No. 68 torch.nn.functional.poisson_nll_loss 在哪里,需要同时补一下

@Liyulingyue
Copy link
Contributor Author

请问No. 67 torch.nn.functional.pairwise_distance、No. 68 torch.nn.functional.poisson_nll_loss 在哪里,需要同时补一下

最近有点忙,这周末争取补充一下~

@luotao1 luotao1 closed this Sep 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributor HappyOpenSource 快乐开源活动issue与PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants