Hi,
Yes you can just drop the Variable now.
The requires_grad=False is the default so you don’t need to specify it when creating your Tensor.
Also factory functions like torch.zeros() accept a dtype argument that you can use to directly create a Tensor of the right type and so avoid the .type() call.