How to compute the gradients of the the Neural Network in matlab
11 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
If we have a nural network: y = f(x,u), then how to caculate the dy/du or dy/dx in matlab? Is there any tool in matlab?
Antworten (1)
Shantanu Dixit
am 1 Jul. 2023
Hi Hanqiu,
The function takes in y-(Variable to differentiate) and x1,x2....xk (Variable in function) and returns the gradient (dydx1,dydx2,...dydxk) corresponding to the variables in function.
Siehe auch
Kategorien
Mehr zu Sequence and Numeric Feature Data Workflows finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!