LeakyReLU¶ class torch.ao.nn.quantized.LeakyReLU(scale, zero_point, negative_slope=0.01, inplace=False, device=None, dtype=None)[source][source]¶ 这是 LeakyReLU 的量化等效 参数: 输出张量的量化尺度(浮点数) 输出张量的量化零点(整数) negative_slope (浮点数) – 控制负斜率的倾斜角度。默认:1e-2