it is an internal attribute, that is mostly used instead of torch.no_grad() context, as autograd misses tensor mutations via .data. and you have to initialize parameter values with autograd disabled, that’s what your code does.