您即将离开腾讯云开发者社区,请注意您的账号财产安全
https://pytorch.org/docs/stable/nn.html?highlight=register_backward#torch.nn.Module.register_forward_hook
继续访问