torch.nn.functional.hardtanh_¶
-
torch.nn.functional.
hardtanh_
(input, min_val=- 1.0, max_val=1.0) → Tensor¶ In-place version of
hardtanh()
.
torch.nn.functional.
hardtanh_
(input, min_val=- 1.0, max_val=1.0) → Tensor¶In-place version of hardtanh()
.