Breaking Gradients: x += 1 vs x = x + 1 in PyTorch
·23 words·1 min
Quiz time: When doing automatic differentiation in PyTorch why x += 1 has very different consequences than x = x + 1?
Quiz time: When doing automatic differentiation in PyTorch why x += 1 has very different consequences than x = x + 1?