Where can I find the detailed structure of the autoencoder network variable "net" obtained by the trainautoencoder function? The network structure diagram provided by the "vie
8 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1415059/image.png)
Where can I find the detailed structure of the autoencoder network variable "net" obtained by the trainautoencoder function? The network structure diagram provided by the "view" function is too broad, which layers are included in encoder and decoder?
0 Kommentare
Akzeptierte Antwort
Ben
am 20 Jun. 2023
You can view the network by calling the network function:
% Set up toy data and autoencoder
t = linspace(0,2*pi,10).';
phi = randn(1,20);
x = sin(t+phi);
enc = trainAutoencoder(x);
net = network(enc);
layers = net.layers;
This gave me a cell array where layers{1} is the encoder layer and layers{2} is the decoder layer.
2 Kommentare
Ben
am 20 Jun. 2023
I'm not sure what internal structure you require - the encoder and decoder networks appear to be described by one layer each, each layer is a fully connected layer
where
are a weight matrix and bias vector, and σ an activation function.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1415509/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1415514/image.png)
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Image Data Workflows finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!