a question for defining Custom Deep Learning Layer

Hi,
I want to know if we can directly use the fucntion SVD to achieve the singular vectors and Singular values in the defined cumtome deep learning layer.
Looking forward to your reply

 採用された回答

Christine Tobler
Christine Tobler 2020 年 2 月 3 日

0 投票

You can use the svd in a custom layer, however, if the SVD is used in the forward method of a custom layer, this will likely require the backward method of that layer to compute what amounts to the derivative of this SVD, which could be quite hard to compute.

2 件のコメント

li
li 2020 年 2 月 4 日
Thanks very much for your answer. I will test it by myself.
Damien T
Damien T 2021 年 2 月 3 日
編集済み: Damien T 2021 年 2 月 3 日
See this reference (Section 3.2) for the derivatives of the SVD:

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeDeep Learning Toolbox についてさらに検索

質問済み:

li
2020 年 2 月 1 日

編集済み:

2021 年 2 月 3 日

Community Treasure Hunt

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

Start Hunting!

Translated by