Quantized version of the.
leaky_relu(input, negative_slope=0.01, inplace=False, scale, zero_point) -> Tensor
Applies element-wise,
LeakyReLU(x)=max(0,x)+negative_slopeโmin(0,x)
- Parameters
input (Tensor) โ Quantized input
negative_slope (float) โ The slope of the negative input
inplace (bool) โ Inplace modification of the input tensor
scale (Optional[float]) โ Scale and zero point of the output tensor.
zero_point (Optional[int]) โ Scale and zero point of the output tensor.
See LeakyReLU
for more details.