Solved by ptrblck in post #3 
              
              
                Why should you get two different weights? In your code snippet you are reusing the layer, which only contains one set of parameters.