量化版本的.
leaky_relu(input, negative_slope=0.01, inplace=False, scale, zero_point) -> Tensor
逐元素应用,
LeakyReLU(x)=max(0,x)+negative_slope∗min(0,x)
- Parameters
输入 (张量) – 量化输入
negative_slope (float) – 负输入的斜率
inplace (bool) – 对输入张量进行原地修改
scale (可选[浮点数]) – 输出张量的缩放和零点。
zero_point (可选[整数]) – 输出张量的比例和零点。
有关更多详细信息,请参阅 LeakyReLU。