フィルターのクリア

How to compute the gradients of the the Neural Network in matlab

9 ビュー (過去 30 日間)
hanqiu bao
hanqiu bao 2023 年 6 月 30 日
コメント済み: hanqiu bao 2023 年 7 月 14 日
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?
  1 件のコメント
hanqiu bao
hanqiu bao 2023 年 6 月 30 日
Hi everyone, please give me some help! Thanks!

サインインしてコメントする。

回答 (1 件)

Shantanu Dixit
Shantanu Dixit 2023 年 7 月 1 日
Hi Hanqiu,
Refer to dlgradient-MATLAB for gradient calculation.
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.

カテゴリ

Help Center および File ExchangeDeep Learning Toolbox についてさらに検索

製品


リリース

R2018b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by