tfm.utils.activations.hard_sigmoid

Computes the hard sigmoid activation function.

features A Tensor representing preactivation values.

The activation value.