torch.nn.functional.smooth_l1_loss
-
torch.nn.functional.smooth_l1_loss(input, target, size_average=None, reduce=None, reduction='mean', beta=1.0)[source] -
Функция, использующая квадратный член, если абсолютная ошибка между элементами меньше бета, и член L1 в противном случае.
См.
SmoothL1Lossдля подробностей.- Возвращаемый тип:
© 2024, PyTorch Contributors
PyTorch has a BSD-style license, as found in the LICENSE file.
https://pytorch.org/docs/1.13/generated/torch.nn.functional.smooth_l1_loss.html