Nikronic:

x = F.pad(x, (0, 0, 2, 1))  # [left, right, top, bot]


Is there some way to know whether the equivalent to keras is
x = F.pad(x, (0, 0, 2, 1))  # [left, right, top, bot] or
x = F.pad(x, (0, 0, 1, 2))  # [left, right, top, bot]