Solved by kazem in post #3 
              
              
                Found the answer in the following link: 
https://discuss.pytorch.org/t/how-to-pad-one-side-in-pytorch/21212/2 
torch.nn.functional.pad ( input, pad , mode='reflect' , value=(1, 1, 1, 1, 1, 1) ) will do the job. Can be rapped around a module as well: 
import torch
import torch.nn.functional as F

cla…