In-place logistic sigmoid: writes back into a.
Math
See Also
sigmoid_op — out-of-place counterpart.
Parameters
aTensorImplPtrTensor to apply sigmoid to in place. Must be non-null.
Returns
TensorImplPtrThe same pointer as a.
Notes
Primarily useful for inference paths where the pre-activation buffer
can be safely reused. Avoid in training when a is saved for the
backward of a downstream op.