Question 1: True or false
mediumAI-checkedPyTorchx = torch.zeros(3) # a CPU tensor
y = x.numpy()
x[0] = 5.0
True or false: after the last line, y[0] is also 5.0.
1 question from PyTorch
1 question · 1 min · score and explanations at the end
x = torch.zeros(3) # a CPU tensor
y = x.numpy()
x[0] = 5.0
True or false: after the last line, y[0] is also 5.0.