How I can implement a custom hidden and a regression output layer with 2 inputs?

1 回表示 (過去 30 日間)
Markus Wagner
Markus Wagner 2019 年 1 月 2 日
コメント済み: Markus Wagner 2019 年 1 月 2 日
I want bulid up with the deep learning toolbox (CNN, deppNrworkDesigner, layerGraph) a variational autoencoder for a sequence data input.
For this I need one custom layer with 2 inputs and a custom regression output layer in my networtk. But the documentation page "Define Custome Deep Learning Layers" just explain templates for layers with one input.
Howe i can adapt this templates for layers with more than one input and how i can use this layer in functions and apps (deepNetworkDesigner, trainNetwork, layerGraph-Functions etc.)?
i have Adapt the class of the Addition Layer, but it doesnt work well.

回答 (1 件)

Greg Heath
Greg Heath 2019 年 1 月 2 日
Is that one input a scalar or a vector?
Hope this helps
**Thank you for formally accepting my answer**
Greg
  1 件のコメント
Markus Wagner
Markus Wagner 2019 年 1 月 2 日
The input of the network is a vector. The inputs of the layer are vectors.

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

カテゴリ

Help Center および File ExchangeImage Data Workflows についてさらに検索

製品


リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by