-
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. 165-184 #6044
映射文档 No. 165-184 #6044
Conversation
| PyTorch | PaddlePaddle | 备注 | | ||
| ------------- | ------------ | ----------------------------------------------------------------------- | | ||
| probs | probs | 伯努利分布的概率输入。 | | ||
| logits | logits | 采样 1 的 log-odds。 | |
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没有吧
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.
已修改
@@ -737,6 +737,12 @@ | |||
| ---- | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | | |||
| 1 | [torch.distributions.kl.kl_divergence](https://pytorch.org/docs/stable/distributions.html?highlight=torch+distributions+kl+kl_divergence#torch.distributions.kl.kl_divergence) | [paddle.distribution.kl_divergence](https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/distribution/kl_divergence_cn.html) | 功能一致,参数一致, [差异对比](https://github.com/PaddlePaddle/docs/tree/develop/docs/guides/model_convert/convert_from_pytorch/api_difference/distributions/torch.distributions.kl.kl_divergence.md) | | |||
| 2 | [torch.distributions.kl.register_kl](https://pytorch.org/docs/stable/distributions.html?highlight=register_kl#torch.distributions.kl.register_kl) | [paddle.distribution.register_kl](https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/distribution/register_kl_cn.html) | 功能一致,仅参数名不一致, [差异对比](https://github.com/PaddlePaddle/docs/tree/develop/docs/guides/model_convert/convert_from_pytorch/api_difference/distributions/torch.distributions.kl.register_kl.md) | | |||
| 3 | [torch.distributions.binomial.Binomial](https://pytorch.org/docs/stable/distributions.html#torch.distributions.binomial.Binomial) | | 功能缺失 | | |||
| 4 | [torch.distributions.continuous_bernoulli.ContinuousBernoulli](https://pytorch.org/docs/stable/distributions.html#torch.distributions.continuous_bernoulli.ContinuousBernoulli) | | 功能缺失 | | |||
| 5 | [torch.distributions.exponential.Exponential](https://pytorch.org/docs/stable/distributions.html#torch.distributions.exponential.Exponential) | | 功能缺失 | |
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.
已修改添加Gumbel, Geometric
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.
LGTM
PaddlePaddle/PaConvert#112
165 torch.distributions.exp_family.ExponentialFamily 已有文档修改
166 torch.distributions.bernoulli.Bernoulli
167 torch.distributions.binomial.Binomial 不支持API
168 torch.distributions.categorical.Categorical 已有文档
169 torch.distributions.cauchy.Cauchy
170 torch.distributions.continuous_bernoulli.ContinuousBernoulli 不支持API
171 torch.distributions.dirichlet.Dirichlet 已有文档修改
172 torch.distributions.exponential.Exponential 不支持API
173 torch.distributions.geometric.Geometric
174 torch.distributions.gumbel.Gumbel
175 torch.distributions.independent.Independent
176 torch.distributions.laplace.Laplace
177 torch.distributions.log_normal.LogNormal
178 torch.distributions.multinomial.Multinomial 已有文档修改
179 torch.distributions.normal.Normal 已有文档修改
180 torch.distributions.one_hot_categorical.OneHotCategorical 不支持API
181 torch.distributions.transformed_distribution.TransformedDistribution 已有文档
182 torch.distributions.uniform.Uniform 已有文档修改
183 torch.distributions.transforms.Transform 已有文档
184 torch.distributions.transforms.ComposeTransform 已有文档