-
Notifications
You must be signed in to change notification settings - Fork 724
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
[映射文档] No. 66 #6146
Conversation
感谢你贡献飞桨文档,文档预览构建中,Docs-New 跑完后即可预览,预览链接:http://preview-pr-6146.paddle-docs-preview.paddlepaddle.org.cn/documentation/docs/zh/api/index_cn.html |
### 参数映射 | ||
| PyTorch | PaddlePaddle | 备注 | | ||
|--------|--------------|------------------------------| | ||
| logits | x | 输入参数 | |
There was a problem hiding this comment.
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的值 | |
There was a problem hiding this comment.
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 | |
There was a problem hiding this comment.
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 | | 计算的误差值 | |
There was a problem hiding this comment.
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| 计算的维度 | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
加一句。仅参数名不同
| dim |axis| 计算的维度 | | ||
|
||
### 转写示例 | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Liyulingyue 如果eps可以直接删除的话,就没有需要写转写示例的参数了,无需转写示例
张师傅,这是66还是67? |
应该是66 |
那这里贴的转换规则是67 |
更新了链接的标题~ |
@Liyulingyue 去掉转写示例,这个没有学要转写的参数,另外CI失败了需要处理下 |
...s/model_convert/convert_from_pytorch/api_difference/nn/torch.nn.functional.gumbel_softmax.md
Outdated
Show resolved
Hide resolved
@Liyulingyue 代码风格检查失败了,需要处理下 |
请问No. 67 torch.nn.functional.pairwise_distance、No. 68 torch.nn.functional.poisson_nll_loss 在哪里,需要同时补一下 |
最近有点忙,这周末争取补充一下~ |
补充gumbel_softmax的文档
PaddlePaddle/PaConvert#118