description: Function supported on [-1, 1], smooth on the real line, with a round top.
View source on GitHub |
Function supported on [-1, 1], smooth on the real line, with a round top.
tfp.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)...
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 .
|