将bottom[0]的图像的高和宽降采样到bottom[1]的大小。
可以用在pixcel to pixcel对比两个不同大小的图时,比如要测量图A和图B的欧氏距离作为Loss:
layer {
name: "Downsample5"
type: "Downsample"
bottom: "imgA"
bottom: "imgB"
top: "imgAA"
}
layer {
name: "EPE"
type: "EuclideanLoss"
bottom: "imgAA"
bottom: "imgB"
top: "EPE"
}