Does there exist function that does padding with specific dimensions. pad_sequence fails in following example.
Eg

a = torch.ones(2, 5)
b = torch.ones(3, 6)
c = torch.ones(5, 5)

I want to do

d = pad_sequence([a, b, c]).size()

such that d has shape = [5,6]