Solved by vainaijr in post #3 
              
              
                if you do 
self.s = nn.ParameterList([torch.nn.Parameter(torch.arange(1, embedding_dim+1, dtype=torch.float),  requires_grad=True)])

then it would show up