tfm.utils.activations.hard_swish

Stay organized with collections Save and categorize content based on your preferences.

Computes a hard version of the swish function.

This operation can be used to reduce computational cost and improve quantization for edge devices.

features A Tensor representing preactivation values.

The activation value.