【Hackathon 6th No.29】为 paddle.nn.functional.max_unpool1d / max_unpool2d / max_unpool3d/paddle.nn.functional.kl_div 进行功能增强 #62986
Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews. Suggestions cannot be applied on multi-line comments. Suggestions cannot be applied while the pull request is queued to merge. Suggestion cannot be applied right now. Please check back later.


PR types
Others
PR changes
APIs
Description
paddle.nn.functional.max_unpool1d / max_unpool2d / max_unpool3d 增加支持 int64 输入
paddle.nn.functional.max_unpool1d / max_unpool2d / max_unpool3d 的 output_size 参数的判断有 bug,输入正确的 output_size 会报错:
这个目前按 x -> out, indices = pool(x, ...) -> unpool(out, indices, ..., output_size=x.shape) 这样来检验的话有问题的是paddle.nn.functional.max_unpool1d,output_size 参数处理之前少加了一维,是否还存在其他问题?
paddle.nn.functional.kl_div 增加参数 log_target