A linear “module” without a bias is consider a module when its simply just a Variable (matrix with some dimension). I don’t see the difference of that and my suggestion. Something like:
torch.nn.Linear(D_in,D_out,bias=False)