tfp.substrates.jax.math.round_exponential_bump_function
Stay organized with collections
Save and categorize content based on your preferences.
Function supported on [-1, 1], smooth on the real line, with a round top.
tfp.substrates.jax.math.round_exponential_bump_function(
x, name=None
)
Define
f(x) := exp(-1 / (1 - x**2)) * exp(1), for x in (-1, 1)
f(x) := 0, for |x| >= 1.
One can show that f(x)...
- is C^\infty on the real line.
- is supported on [-1, 1].
- is equal to 1 at x = 0.
- is strictly increasing on (-1, 0).
- is strictly decreasing on (0, 1).
- has gradient = 0 at 0.
See Bump Function
Args |
x
|
Floating-point Tensor.
|
name
|
Optional Python str naming the operation.
|
Returns |
y
|
Tensor of same shape and dtype as x .
|
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."],[],[]]