W3cubDocs

/PyTorch 2.9

ELU

class torch.ao.nn.quantized.ELU(scale, zero_point, alpha=1.0) [source]

This is the quantized equivalent of ELU.

Parameters
  • scale – quantization scale of the output tensor
  • zero_point – quantization zero point of the output tensor
  • alpha (float) – the alpha constant

© 2025, PyTorch Contributors
PyTorch has a BSD-style license, as found in the LICENSE file.
https://docs.pytorch.org/docs/2.9/generated/torch.ao.nn.quantized.ELU.html