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.
2 questions from PyTorch
2 questions · 2 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.