Implementing "Same" padding for 3d convolution in Pytorch

Hello.

I was wondering if there were any helpful implementations of a 3d convolution which maintains size for irregular dimensions (ie not square).

Hi,

You mean irregular dimensions of the kernel? If so, yes you can set a per-dimension padding that will match the kernel size in that dimension.

1 Like