hardtanh_

paddle.nn.functional. hardtanh_ ( x, min=- 1.0, max=1.0, name=None ) [source]

Inplace version of hardtanh API, the output Tensor will be inplaced with input x. Please refer to hardtanh.