Solved by ptrblck in post #2 
              
              
                It “influences” the computation graph in the sense that each operation would be added to the graph and the backpropagation should just work. It shouldn’t be necessary to take extra steps and could just use for loops etc. without a problem.