I have a list of 4D tensors of different sizes. I need to pad all of them per each dimension till the size of the biggest tensor for that dimension.
e.g.:
input_ten: [[1x1x2x3],
[1x2x1x3],
[1x1x4x2]]
ouput_ten: [[1x2x4x3],
[1x2x4x3],
[1x2x4x3]]
Is there any built-in/efficient function to do it?