On this page
clamp
class torch.ao.nn.quantized.functional.clamp(input, min_, max_)[source]-
float(input, min_, max_) -> Tensor
Applies the clamp function element-wise. See
clampfor more details.
© 2024, PyTorch Contributors
PyTorch has a BSD-style license, as found in the LICENSE file.
https://pytorch.org/docs/1.13/generated/torch.ao.nn.quantized.functional.clamp.html