.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` !DO NOT EDIT THIS FILE MANUALLY! .. _api_nn_hardshrink: hardshrink ---------- .. autofunction:: paddle.nn.functional.hardshrink :noindex: