Skip to content
RED SAG Skills
hardStudy question · answer published in PyTorch interview questions, so no pointspytorchtensor-shapes

view() after a transpose

What happens when this code runs?

import torch
x = torch.randn(4, 6)
y = x.t()
z = y.view(24)
Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions