ComputesY = g(X) = 1 / (1 + exp(-X))

tfb_sigmoid(validate_args = FALSE, name = "sigmoid")

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.

Value

a bijector instance.

See also