Leaky ReLU
- classtorch.ao.nn.quantized.functional.leaky_relu(input, negative_slope=0.01, inplace=False, scale=None, zero_point=None)[源代码]
-
leaky_relu(input, negative_slope=0.01, inplace=False, scale, zero_point) 的量化版本 -> Tensor
逐元素应用公式:$\text{LeakyReLU}(x) = \max(0, x) + \text{negative\_slope} * \min(0, x)$
- 参数
更多详情请参见
LeakyReLU
。