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