I have a trained DNN model, and I hope to find the input x that maximize model.predict(x) through gradient descent. Here\'s what I did:
model
x
model.predict(x)