a question for defining Custom Deep Learning Layer

2 vues (au cours des 30 derniers jours)
li
li le 1 Fév 2020
Modifié(e) : Damien T le 3 Fév 2021
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

Réponse acceptée

Christine Tobler
Christine Tobler le 3 Fév 2020
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 commentaires
li
li le 4 Fév 2020
Thanks very much for your answer. I will test it by myself.
Damien T
Damien T le 3 Fév 2021
Modifié(e) : Damien T le 3 Fév 2021
See this reference (Section 3.2) for the derivatives of the SVD:

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Image Data Workflows dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by