The softsign Bijector has the following two useful properties:

  • The domain is all real numbers

  • softsign(x) approx sgn(x), for large |x|.

tfb_softsign(validate_args = FALSE, name = "softsign")

Arguments

validate_args

Logical, default FALSE. Whether to validate input with asserts. If validate_args is FALSE, and the inputs are invalid, correct behavior is not guaranteed.

name

name prefixed to Ops created by this class.

See also