Thanks for your input!
Maybe, my understanding was the other way around that the empty tensors should work.
Anyway, there is a bit of inconsistency. If we can make it consistent, it will be great.
I am using torch version ‘0.1.12+036c3f9’. I am not sure where to find the file to modify the function.