Rate this Page

elu#

class torch.ao.nn.quantized.functional.elu(input, scale, zero_point, alpha=1.0)[source]#

This is the quantized version of elu().

Parameters
  • input (Tensor) – quantized input

  • scale (float) – quantization scale of the output tensor

  • zero_point (int) – quantization zero point of the output tensor

  • alpha (float) – the alpha constant

Return type

Tensor