Skip to content

Rectifier Functions ​

Index ​

Types ​

TransportMaps.Softplus Type
julia
Softplus(β::Float64 = 1.0)

Smooth rectifier function

It is a smooth approximation to ReLU that takes values in . Larger values of produce a sharper transition.

source
TransportMaps.ShiftedELU Type
julia
ShiftedELU()

Rectifier combining exponential and linear behavior:

The result is strictly positive and continuously differentiable.

source
TransportMaps.IdentityRectifier Type
julia
IdentityRectifier()

Identity rectifier,  . It does not enforce strict positivity, so use it only when the relevant partial derivatives are positive by construction.

source
TransportMaps.ExpRectifier Type
julia
ExpRectifier()

Exponential rectifier,  . It ensures strict positivity and monotonicity, but can produce extreme values for large .

source