-
Notifications
You must be signed in to change notification settings - Fork 831
新增映射文档 #7104
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
新增映射文档 #7104
Conversation
感谢你贡献飞桨文档,文档预览构建中,Docs-New 跑完后即可预览,预览链接:http://preview-pr-7104.paddle-docs-preview.paddlepaddle.org.cn/documentation/docs/zh/api/index_cn.html |
...nvert_from_pytorch/api_difference/nn/torch.nn.modules.module.register_module_forward_hook.md
Show resolved
Hide resolved
...t_from_pytorch/api_difference/nn/torch.nn.modules.module.register_module_forward_pre_hook.md
Outdated
Show resolved
Hide resolved
docs/guides/model_convert/convert_from_pytorch/pytorch_api_mapping_cn.md
Outdated
Show resolved
Hide resolved
### [torch.nn.modules.module.register_module_forward_hook](https://pytorch.org/docs/stable/generated/torch.nn.modules.module.register_module_forward_hook.html) | ||
|
||
```python | ||
torch.nn.modules.module.register_module_forward_hook(hook, *, prepend=False, with_kwargs=False, always_call=False) | ||
torch.nn.modules.module.register_module_forward_hook(hook, *, always_call=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.
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官方文档上面有,但我实际使用应该没有
...nvert_from_pytorch/api_difference/nn/torch.nn.modules.module.register_module_forward_hook.md
Outdated
Show resolved
Hide resolved
...t_from_pytorch/api_difference/nn/torch.nn.modules.module.register_module_forward_pre_hook.md
Outdated
Show resolved
Hide resolved
@@ -1037,6 +1038,7 @@ | |||
| NOT-IMPLEMENTED-ITEM(`torch.cuda.is_current_stream_capturing`, https://pytorch.org/docs/stable/generated/torch.cuda.is_current_stream_capturing.html#torch-cuda-is-current-stream-capturing, 可新增,且框架底层有相关设计,成本低) | | |||
| NOT-IMPLEMENTED-ITEM(`torch.cuda.device_of`, https://pytorch.org/docs/stable/generated/torch.cuda.device_of.html, 可新增,且框架底层有相关设计,成本低) | | |||
|
|||
|
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.
torch.nn.modules.module.register_module_forward_hook的分类改了吗
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.
LGTM
Uh oh!
There was an error while loading. Please reload this page.