When specifying the contractive loss in an autoencoder according to the method given in the link:
https://wiseodd.github.io/techblog/2016/12/05/contractive-autoencode