Skip to content

clipped_softplus

latent.activations.clipped_softplus(x)

Applies a exp activation function clipped at 1e-4 and 1e4.

Parameters:

Name Type Description Default
x Tensor

Input tensor

required

Returns:

Type Description
Tensor

Tensor, output of clipped softplus transformation.