LeakyReLU¶ class torch.ao.nn.quantized.LeakyReLU(scale, zero_point, negative_slope=0.01, inplace=False, device=None, dtype=None)[原始碼][原始碼]¶ 這是 LeakyReLU 的量化版本。 引數 scale (float) – 輸出張量的量化比例 zero_point (int) – 輸出張量的量化零點 negative_slope (float) – 控制負斜率的角度。預設值: 1e-2