Question 1: Single choice
mediumAI-checkedDeep Learning FrameworksA hand-written SGD step updates a weight in place:
w = torch.ones(3, requires_grad=True)
w -= 0.1 * torch.ones(3)
What happens on the last line?
2 questions from Deep Learning Frameworks, PyTorch
2 questions · 2 min · score and explanations at the end
A hand-written SGD step updates a weight in place:
w = torch.ones(3, requires_grad=True)
w -= 0.1 * torch.ones(3)
What happens on the last line?