2023CVPR_Learning a Simple Low-light Image Enhancer from Paired Low-light Instances(PairLIE)

1、nn.ReflectionPad2d 对输入图像以最外围像素为对称轴,做四周的轴对称镜像填充。

大佬链接:(14条消息) torch.nn.ReflectionPad2d()的用法简介_nn.reflectionpad2d(1)_啊菜来了的博客-CSDN博客

 

# 对四周都填充3行
nn.ReflectionPad2d(3)    

 

posted @ 2023-05-22 15:51  helloWorldhelloWorld  阅读(104)  评论(0)    收藏  举报