ott.geometry.costs.RegTICost.h_legendre#
- RegTICost.h_legendre(z)[source]#
Legendre transform of
h()
.This function uses
custom_vjp
to apply Danskin’s theorem [Danskin, 1967] when differentiating.
Legendre transform of h()
.
This function uses custom_vjp
to apply Danskin’s theorem
[Danskin, 1967] when differentiating.