vi_triangular {tfprobability}R Documentation

The Triangular Csiszar-function in log-space

Description

The Triangular Csiszar-function is:

Usage

vi_triangular(logu, name = NULL)

Arguments

logu

float-like Tensor representing log(u) from above.

name

name prefixed to Ops created by this function.

Details

f(u) = (u - 1)**2 / (1 + u)

Warning: this function makes non-log-space calculations and may therefore be numerically unstable for ⁠|logu| >> 0⁠.

Value

triangular_of_u: float-like Tensor of the Csiszar-function evaluated at u = exp(logu).

See Also

Other vi-functions#': vi_t_power(), vi_total_variation()


[Package tfprobability version 0.15.1 Index]