This question is similar to this question:
with the exception that I would like to pre-pad this tensor with the beginning values. Given the ragged tensor:
[[1],
[4, 2],
[1, 2, 3]]
I would expect the output to be:
[[1 1 1],
[4 4 2],
[1 2 3]]
I would like to be able to apply the solution to a larger ragged tensor.