Solved by smth in post #3 
              
              
                just for closure of this thread, documentation is here: http://pytorch.org/docs/master/nn.html?highlight=modulelist#torch.nn.Module.apply