a question for defining Custom Deep Learning Layer

2 次查看(过去 30 天)
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.

更多回答(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