需求描述 Feature Description
Layer.set_state_dict
https://github.com/PaddlePaddle/Paddle/blob/develop/python/paddle/fluid/dygraph/layers.py#L1429-L1450
期望对齐 torch
https://github.com/pytorch/pytorch/blob/7c7eb351c306e1db683dc4318288fd8479f6ef36/torch/nn/modules/module.py#L1433-L1455
返回load时候,缺失和多余的 keys
Returns:
``NamedTuple`` with ``missing_keys`` and ``unexpected_keys`` fields:
* **missing_keys** is a list of str containing the missing keys
* **unexpected_keys** is a list of str containing the unexpected keys
替代实现 Alternatives
No response
3条答案
按热度按时间jaxagkaj1#
您好,我们已经收到了您的问题,会安排技术人员尽快解答您的问题,请耐心等待。请您再次检查是否提供了清晰的问题描述、复现代码、环境&版本、报错信息等。同时,您也可以通过查看 官网API文档 、 常见问题 、 历史Issue 、 AI社区 来寻求解答。祝您生活愉快~
Hi! We've received your issue and please be patient to get responded. We will arrange technicians to answer your questions as soon as possible. Please make sure that you have posted enough message to demo your request. You may also check out the API , FAQ , Github Issue and AI community to get the answer.Have a nice day!
ttcibm8c2#
@ZHUI 是说我们的
Layer. set_state_dict
没有返回值对吧,这个需求可以支持sxpgvts33#
是的,没错。