PyTorch 中nn.AdaptiveAvgPool2d 与nn.AvgPool2d 功能一样都是平均池化, 但接收的参数不一样nn.AvgPool2d:滑动窗口的大小kernel_size填充padding步长stridenn.
確定! 回上一頁