tfp.substrates.jax.vi.t_power
Stay organized with collections
Save and categorize content based on your preferences.
The T-Power Csiszar-function in log-space.
tfp.substrates.jax.vi.t_power(
logu, t, self_normalized=False, name=None
)
A Csiszar-function is a member of,
F = { f:R_+ to R : f convex }.
When self_normalized = True
the T-Power Csiszar-function is:
f(u) = s [ u**t - 1 - t(u - 1) ]
s = { -1 0 < t < 1
{ +1 otherwise
When self_normalized = False
the - t(u - 1)
term is omitted.
This is similar to the amari_alpha
Csiszar-function, with the associated
divergence being the same up to factors depending only on t
.
Args |
logu
|
float -like Tensor representing log(u) from above.
|
t
|
Tensor of same dtype as logu and broadcastable shape.
|
self_normalized
|
Python bool indicating whether f'(u=1)=0 .
|
name
|
Python str name prefixed to Ops created by this function.
|
Returns |
t_power_of_u
|
float -like Tensor of the Csiszar-function evaluated
at u = exp(logu) .
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-11-21 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-11-21 UTC."],[],[]]