Hi Hdk!



 Hdk:

I could solve it with torch.mul and torch.repeat


Yes, it looks like torch.repeat() is the better solution.  It ought to be
faster than torch.kron() – at least a little bit – and it’s an established
feature, so you don’t need to use an unstable version to get it.
Best.
K. Frank