1、LeakyReLU 激活函数的作用机制

2、LeakyReLU 激活函数的图像展示

3、PyTorch LeakyReLU 激活函数

torch.nn.LeakyReLU(negative_slope=0.01, inplace=False)

4、PyTorch LeakyReLU 激活函数的应用场景

>>> m = nn.LeakyReLU(0.1)
>>> input = torch.randn(2)
>>> output = m(input)