a question for defining Custom Deep Learning Layer

조회 수: 1 (최근 30일)
li
li 2020년 2월 1일
편집: Damien T 2021년 2월 3일
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일
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개)

카테고리

Help CenterFile Exchange에서 Image Data Workflows에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by