Solved by AlphaBetaGamma96 in post #2 
              
              
                Hey! 
Would mind sharing what exactly X is / where is it calculated? Or is it just arbitrary input data? 
From what I can see, you’re basically taking your network and modifying the parameters and creating a copy, then comparing the difference in output via the original model and a copy of the model…