Can someone help me on how to link an already trained ANN with an optimization algorithm in Python.
I am finding a lot of stuff online on training an ANN using optimization algorithm. But I don't want this. Instead I already have a trained ANN. I have the weights and bias of the trained ANN. I have framed a set of objective functions for my optimization code. In order to minimize these objective functions, I want the optimization code to search within the trained ANN and then provide solution. Does someone have a code of this sort?