if we do an inplace operation on the data property of a leaf variable with requires_grad=true it seems fine. But what is dangerous exactly? is it safe to use it in pixelcnn code (pixelcnn-pytorch/masked_cnn_layer.py at master · axeloh/pixelcnn-pytorch · GitHub)? does it still track the gradients?