Syntax
Y = decode(autoenc,Z)
Description
returns thedecoded dataY
= decode(autoenc
,Z
)Y
, using the autoencoderautoenc
.
Input Arguments
Output Arguments
Examples
Algorithms
If the input to an autoencoder is a vector , then the encoder maps the vectorxto another vector as follows:
where the superscript (1) indicates the first layer. is a transfer function for the encoder, is a weight matrix, and is a bias vector. Then, the decoder maps the encoded representationzback into an estimate of the original input vector,x, as follows:
上标(2)代表第二个拉yer. is the transfer function for the decoder, is a weight matrix, and is a bias vector.