Description Usage Arguments Details Value
This function updates hidden units from responses to input data. It updates μ_{Z|y} and Σ_{Z|y} from the Z|y distribution for a given layer.
1 | backwardHiddenStateUpdate(mz, Sz, mzF, SzF, SzB, Czz, mzB, idx)
|
mz |
Mean vector of units for the current layer μ_{Z} |
Sz |
Covariance matrix of units for the current layer Σ_{Z} |
mzF |
Mean vector of units for the next layer μ_{Z^{+}} |
SzF |
Covariance matrix of units for the next layer Σ_{Z^{+}} |
SzB |
Covariance matrix of units for the next layer given y Σ_{Z^{+}|y} |
Czz |
Covariance matrix between units of previous and current layers Σ_{ZZ^{+}} |
mzB |
Mean vector of units for the next layer given y μ_{Z^{+}|y} |
idx |
Indices for the hidden state update step of the current layer |
f(\boldsymbol{z}|\boldsymbol{y}) = \mathcal{N}(\boldsymbol{z};\boldsymbol{μ_{Z|y}},\boldsymbol{Σ_{Z|y}}) where
\boldsymbol{μ_{Z|y}} = \boldsymbol{μ_{Z}} + \boldsymbol{J_{Z}}(\boldsymbol{μ_{Z^{+}|y}} - \boldsymbol{μ_{Z^{+}}})
\boldsymbol{Σ_{Z|y}} = \boldsymbol{Σ_{Z}} + \boldsymbol{J_{Z}}(\boldsymbol{Σ_{Z^{+}|y}} - \boldsymbol{Σ_{Z^{+}}})\boldsymbol{J_{Z}^{T}}
\boldsymbol{J_{Z}} = \boldsymbol{Σ_{Z Z^{+}}}\boldsymbol{Σ^{-1}_{Z^{+}}}
Mean vector of units for the current layer given y μ_{Z|y}
Covariance matrix of units for the current layer given y Σ_{Z|y}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.