Is it possible to create a higher-order tensor with no elements, e.g., torch.LongTensor(1, 0) ? This would be convenient, but the current behavior seems to be returning a tensor with dimensions equal to the prefix until the first zero, e.g., torch.LongTensor(1, 0, 3, 4) yields a tensor of size 1.
Are you considering changing this behavior? Is there any good reason for it? Thanks.