Skip to content
RED SAGSkills
medium10 pts · first answer countsdeep-learningpytorchautograd

backward() on a vector

What happens when this code runs?

x = torch.randn(3, requires_grad=True)
y = x * 2
y.backward()
Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions