Question 1: Single choice
easyAI-checkedDeep Learning FrameworksWhat happens when the last line runs?
x = torch.ones(2, requires_grad=True)
with torch.no_grad():
y = (x * 3).sum()
y.backward()1 question from Deep Learning Frameworks
1 question · 1 min · score and explanations at the end
What happens when the last line runs?
x = torch.ones(2, requires_grad=True)
with torch.no_grad():
y = (x * 3).sum()
y.backward()