Вступ до Deep Learning з PyTorch
Jasmin Ludolf
Senior Data Science Content Developer, DataCamp
$$

$$

Функція sigmoid:
Градієнти:
$$
Функція softmax також страждає від насичення

Rectified Linear Unit (ReLU):
f(x) = max(x, 0)$$
У PyTorch:
relu = nn.ReLU()

Leaky ReLU:
$$
У PyTorch:
leaky_relu = nn.LeakyReLU(
negative_slope = 0.05)

Вступ до Deep Learning з PyTorch