vi_total_variation {tfprobability} | R Documentation |
The Total Variation Csiszar-function in log-space
Description
A Csiszar-function is a member of F = { f:R_+ to R : f convex }
.
Usage
vi_total_variation(logu, name = NULL)
Arguments
logu |
|
name |
name prefixed to Ops created by this function. |
Details
The Total-Variation Csiszar-function is:
f(u) = 0.5 |u - 1|
Warning: this function makes non-log-space calculations and may therefore be
numerically unstable for |logu| >> 0
.
Value
total_variation_of_u: float
-like Tensor
of the Csiszar-function
evaluated at u = exp(logu)
.
See Also
Other vi-functions#':
vi_t_power()
,
vi_triangular()
[Package tfprobability version 0.15.1 Index]