leaky_relu#
- class torch.ao.nn.quantized.functional.leaky_relu(input, negative_slope=0.01, inplace=False, scale=None, zero_point=None)[source]#
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
See
LeakyReLU
for more details.