You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ah yes, I came across this bug a while back too. I figured out a workaround but unfortunately I was busy at the time and forgot to post an issue as I had intended. Here is the workaround:
Hi there,
I would like to repeat tensor along the first dimension 4 times.
First I create the tensor
x <- torch_tensor(c(1, 2, 3))
Then I add a dimension at position 1:
x2 = x$unsqueeze(1)
Here I'm attempting to repeat the first dimension four times and it throws an error:
I also tried different variations:
All of which are not working!
Thank you
The text was updated successfully, but these errors were encountered: