My understanding is that tl.ShiftRight moves all entries in the tensor to the right (by default one unit). Suppose we feed in tensors of length 10, possibly with padding. So tl.ShiftRight would do something like:
[ 2 3 4 5 6 1 0 0 0 0] → [0 2 3 4 6 1 0 0 0] (correct?)
But, what if there is no padding? Does it throw off the right-most char, which would be a 1, and add a 0 at the front?
[2 3 4 5 6 7 8 9 10 1] → [0 2 3 4 5 6 7 8 9 10] ??
Or does it increase all tensor lengths by 1 and add a 0 to the front?
Thanks for any help.