() – the size of the padding. If it is , uses the same
padding in all boundaries. If a 6-, uses
(, ,
, ,
, )
Note that the output dimensions must remain positive.
Input: (N,C,Din,Hin,Win) or (C,Din,Hin,Win).
Output: (N,C,Dout,Hout,Wout) or ,
where
Examples:
>>> m=nn.ReplicationPad3d(3)>>> input=torch.randn(16,3,8,320,480)>>> output=m(input)>>> # using different paddings for different sides>>> m=nn.ReplicationPad3d((3,3,6,6,1,1))>>> output=m(input)