unilab.algos.torch.flash_sac.layers.safe_tanh_log_det_jacobian

unilab.algos.torch.flash_sac.layers.safe_tanh_log_det_jacobian(x)[source]

Stable log|det J_tanh(x)| term.

Parameters:

x (Tensor)

Return type:

Tensor