Description Usage Arguments Value Author(s) References See Also
Implementation of various loss functions to measure statistical discrepancy between two datasets.
1 |
x |
2d tensor with shape (batch size, dimension of input dataset). |
y |
2d tensor with shape (batch size, dimension of input dataset). |
type |
|
... |
additional arguments passed to the underlying loss function;
at the moment, this is only affects |
loss()
returns a 0d tensor containing the loss.
Marius Hofert and Avinash Prasad
Kingma, D. P. and Welling, M. (2014). Stochastic gradient VB and the variational auto-encoder. Second International Conference on Learning Representations (ICLR). See https://keras.rstudio.com/articles/examples/variational_autoencoder.html
GMMN_model()
and VAE_model()
where
loss()
is used.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.