does the answer for this question need to be updated because I think I read somewhere that .data was going to be removed…is that correct?
For example the following code gives an error:
param.normal_(mean=mu,std=s)
RuntimeError: a leaf Variable that requires grad has been used in an in-place operation.

I know that doing .data works but if I recall thats going to be removed