This is a wrapper for a loss which induces a contraction in the latent space.

contraction(reconstruction_loss = "mean_squared_error", weight = 2e-04)

reconstruction_loss | Original reconstruction error to be combined with the
contractive loss (e.g. |
---|---|

weight | Weight assigned to the contractive loss |

A loss object which can be converted into a Keras loss

Other loss functions: `correntropy`

,
`loss_variational`