Rate this Page

elu#

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

This is the quantized version ofelu().

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