Solved by sharvil in post #3 
              
              
                I don’t think that’s what output_padding does. It prevents some number of elements from being treated as padding (and thus removed from the output). 
Consider this transpose operation: 
torch.nn.Conv1d(1, 1, kernel_size=30, stride=15, padding=8, output_padding=1)

The equivalent of the above operati…