Solved by David_Harvey in post #4 
              
              
                Sorry for the late reply. I don’t know any approach that can sum up the gradients through only a function interface. Maybe you should ask the owner of the NN for model access.