记录 Pytorch class Upsample
对给定的 1D (temporal), 2D (spatial) or 3D (volumetric) data 进行上采样
假设输入的数据是
`minibatch x channels x [optional depth] x [optional height] x width`.
Hence, for spatial inputs, we expect a 4D Tensor and for volumetric inputs, we expect a 5D Tensor.
上采样的方法是
near
原创
2021-04-09 08:50:15 ·
226 阅读 ·
0 评论