torch.nn.functional.hardtanh
============================

.. currentmodule:: torch.nn.functional

.. autofunction:: hardtanh