Hi,
Unfortunately, this is not possible.
The low level reason is that torch.expand is implemented by setting the stride on one dimension to 0 (and thus reading always the same value). But you can use this trick only to read the first element, and it does not work if there are more than one.