In Python, something like a[1:10:2, :, None, :] can be performed, is there any convenient method to do the same thing with LibTorch in one step?
Yes, I know I can do this by a.slice(0, 0, 10, 2).unsqueeze(-2), but is there any method to do this more elegantly, like in Python?
To be more accurate, I want these things,

:
None
...
start:end:step